aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/files.lua
Commit message (Collapse)AuthorAgeFilesLines
* net: Prefix module imports with prosody namespaceKim Alvefur2023-03-171-4/+4
|
* Merge 0.11->trunkKim Alvefur2020-04-261-1/+1
|
* net.http.files: Explicitly convert number to string, avoiding implicit coercionKim Alvefur2019-10-121-1/+1
|
* net.http.files: Fix cache handlingKim Alvefur2019-06-291-1/+1
| | | | Typo that broke the LRU-ness of the caching
* 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.