Commit Graph

5243 Commits (a4bef98559a32112e76928b27429dc9e6c19dfd2)
 

Author SHA1 Message Date
Waqas Hussain a4bef98559 net.server_event: Optimize socket write buffers (don't do buf=buf..newdata). 13 years ago
Kim Alvefur 45da10ec05 net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug 13 years ago
Kim Alvefur 4f4bc7973a core.certmanager: Add support for LuaSec 0.5. Also compat with MattJs luasec-hg 13 years ago
Kim Alvefur 3e2a8fbe1c prosody, mod_c2s, mod_s2s: Move closing of c2s and s2s sessions to respective plugins 13 years ago
Kim Alvefur de47f7e836 net.server_select: Pause servers while they are full 13 years ago
Kim Alvefur f2af550531 net.server_select: Add pause and resume methods 13 years ago
Kim Alvefur 2021e2265f mod_admin_telnet: Stop processing lines when session is closed 13 years ago
Kim Alvefur a79da674d1 net.server_event: Destroy interfaces immediately, fixes reopening of servers. 13 years ago
Kim Alvefur afd25ad763 net.server_event: Remove comments about not closing event handlers from within callbacks, fixed in luaevent 13 years ago
Matthew Wild b9ac1b8b07 mod_s2s: Remove connection from sessions table as soon as we learn it is disconnected. Fixes a connection/session leak. 13 years ago
Kim Alvefur c141ffdbf6 core.loggingmanager: Don't create file log rules from [level] = "*sink" style config 13 years ago
Kim Alvefur 020dc0052a mod_admin_telnet: Add info about port commands to help 13 years ago
Kim Alvefur 360e2a5884 mod_http_files: Fix sending Content-Type for index files 13 years ago
Kim Alvefur 59db48f8cb mod_http_files: Allow passing a string to serve() 13 years ago
Kim Alvefur a7f6283a2e net.dns: Close voided sockets, so they don't stay in net.server 13 years ago
Matthew Wild 81b3ba1442 net.dns: Clean up query list when a server is marked down 13 years ago
Kim Alvefur 4130b38a58 mod_http_files: Expose function other modules can use to combine their routes with file paths to serve 13 years ago
Kim Alvefur 87cf947c6c mod_http_files: Work with non-wildcard-routes. Key cache on the original HTTP path. 13 years ago
Kim Alvefur da563cbf87 mod_http_files: Replace file listing with an event, allowing a different plugin to generate it 13 years ago
Kim Alvefur cd27b11d36 mod_http_files: Export function can be used by other modules to serve files. Don't serve files by default unless http_files_dir is set 13 years ago
Kim Alvefur 8bf32f0b1c mod_http_files: Rename config options and variable names 13 years ago
Kim Alvefur 92abfa2d51 mod_http_files: Log the error if we can't open or read a file 13 years ago
Waqas Hussain 42907ced08 net.http.parser: Skip url.parse when we don't have a full URL (also fixes traceback on paths starting with '//'). 13 years ago
Kim Alvefur b1dd7b0be7 mod_http_files: Escape paths in redirects 13 years ago
Kim Alvefur d1880e05fd mod_http_files: Only match on modification date when if-none-match is not present 13 years ago
Kim Alvefur f098458b69 mod_http_files: Only serve cached data if etag is unchanged. 13 years ago
Kim Alvefur 0ff07edb45 mod_http_files: Make sure file extensions are not nil or empty string 13 years ago
Kim Alvefur dc08340e9f mod_http_files: Avoid a bunch of table lookups 13 years ago
Kim Alvefur e104ed8cac mod_http_files: No use in closing a file handle if we couldn't open it 13 years ago
Kim Alvefur 17bfb654df util.datamanager: Don't escape the name of a store 13 years ago
Kim Alvefur eaba58e39b mod_http_files: Compare If-Modified-Since to last modification date 13 years ago
Kim Alvefur 7c7e98953e mod_http_files: Fix caching the stringified directory index 13 years ago
Kim Alvefur 0197a4d854 Merge 13 years ago
Waqas Hussain afef23ee7e MUC: Support invite messages when stanza type is explicitly set to "normal" or to an unknown value. 13 years ago
Waqas Hussain 2634362718 util.sasl.plain: Reduce some code. 13 years ago
Kim Alvefur 1d8297ca4f util.datamanager: Remove unused variable 13 years ago
Kim Alvefur 4d762f9cbf util.datamanager: Remove dead code path 13 years ago
Kim Alvefur 8c8d3b759f mod_http_files: Generate simple directory index. 13 years ago
Kim Alvefur f0449e8428 mod_http_files: Have mimetypes in a shared table. Get mimetypes from /etc/mime.types if exists. 13 years ago
Kim Alvefur f2336aa626 mod_http_files: Cache data read from disk in a weak table 13 years ago
Kim Alvefur bcfa20dc80 mod_http_files: Add Last-Modified header 13 years ago
Kim Alvefur 84dcecb046 mod_http_files: Add ETag and check If-None-Match to allow client-side cache 13 years ago
Kim Alvefur ed92fd78b6 mod_http_files: Return 404 faster if file does not exist 13 years ago
Kim Alvefur 9a459d35a4 mod_http_files: Configurable number of index files to check for 13 years ago
Kim Alvefur 329ee389c5 mod_http: Fix path length pattern 13 years ago
Kim Alvefur fbbd1b1c67 mod_auth_anonymous: Implement user iteration API 13 years ago
Kim Alvefur 233b38c3b0 mod_c2s: Check if TLS compression is used 13 years ago
Kim Alvefur 440837480d mod_admin_telnet: Improve wording when listing users 13 years ago
Matthew Wild 193b00e1ff portmanager: Return first service with the specified name from get_service() (instead of the array of possible services) (thanks xnyhps) 13 years ago
Waqas Hussain 36df4aa5d6 util.xml: Fix module name. 13 years ago