aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/files.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.http.files: Bump cache hits so they stay cachedKim Alvefur2019-05-041-0/+1
| | | | It's not an LRU cache unless this is done.
* net.http.files: Make into standalone libraryKim Alvefur2019-04-051-64/+14
|
* net.http.files: Copy of mod_http_filesKim Alvefur2019-04-051-0/+198
The intent is to make it easier to reuse and simplify mod_http_files. Currently modules will use the serve() function exported by mod_http_files in order to serve their own files. This makes it unclear whether mod_http_files should be doing anything on its own. Moving the logic into a separate module should help here, as well as make re-use outside of prosody easier.