Commit graph

6 commits

Author SHA1 Message Date
Kim Alvefur
9bc378f662 Merge 0.11->trunk 2020-04-26 20:49:31 +02:00
Kim Alvefur
9e6dce07bf net.http.files: Explicitly convert number to string, avoiding implicit coercion 2019-10-12 19:31:48 +02:00
Kim Alvefur
c6ca3b473e net.http.files: Fix cache handling
Typo that broke the LRU-ness of the caching
2019-06-29 19:19:38 +02:00
Kim Alvefur
a371d01137 net.http.files: Bump cache hits so they stay cached
It's not an LRU cache unless this is done.
2019-05-04 04:48:40 +02:00
Kim Alvefur
3ea6ca7195 net.http.files: Make into standalone library 2019-04-05 17:09:03 +02:00
Kim Alvefur
6f6ac91056 net.http.files: Copy of mod_http_files
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.
2019-04-05 16:10:51 +02:00