Commit Graph

39 Commits (5c1d94de1b67353da7e2c348379c8a8509a9e66a)

Author SHA1 Message Date
Matthew Wild 5c1d94de1b net.http.server: Log event name when firing a request event 11 years ago
Matthew Wild 899b6d53ae net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent) 12 years ago
Kim Alvefur 13844f7635 net.http.server: Comment out a log message 12 years ago
Kim Alvefur 74b83382ab net.http.server: Fix Keep-Alive requests with HTTP 1.0 13 years ago
Matthew Wild c178786878 mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceback function), to make it clearer where an error occured 13 years ago
Matthew Wild 4602591c38 mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceback function), to make it clearer where an error occured 13 years ago
Matthew Wild 842b340ebe net.server.http: Add a comment 13 years ago
Matthew Wild c981dcb50d net.server.http: Add a comment 13 years ago
Matthew Wild 61f88df542 net.server.http: Ensure that event map cannot grow forever (limit to 10K wildcard-only entries) 13 years ago
Matthew Wild a2fd9431f4 net.server.http: Ensure that event map cannot grow forever (limit to 10K wildcard-only entries) 13 years ago
Waqas Hussain 76d4f07d2b net.http.server: The correct Connection header value to look for is Keep-Alive, not keep-alive. 13 years ago
Marco Cirillo d6c4bffd9b net.http.server: add API to allow firing events directly on the server. 13 years ago
Matthew Wild 3c45ca81a2 net.http.server: Don't overwrite existing response.headers when returning a response object from a HTTP handler (waqas says it's wrong) 13 years ago
Waqas Hussain db6081d6e0 net.http.server: Ensure HTTP callbacks are never called recursively for pipelined requests. 13 years ago
Florian Zeitz 2eddb12845 net.http.server: Properly handle persistent connections 13 years ago
Matthew Wild d4578e0677 net.http.server: Code cleanup/adjustment now that send_response() accepts response.body 14 years ago
Matthew Wild cc6bcc5877 net.http.server: Use response.body if it exists and body is not specified to send_response 14 years ago
Matthew Wild 6229968685 net.http.server: Remove unused imports and variables (fixes traceback due to removed net.httpserver) 14 years ago
Matthew Wild 7f6dcc373f net.http.server: Try default_host if client sent no host anywhere, otherwise... fail. It's 2012. 14 years ago
Matthew Wild e8746c77da net.http.server: Fix traceback on missing host header (thanks darkrain) 14 years ago
Matthew Wild e865b1b3fe net.http.server, mod_http: Support http_default_host config option to specify where to direct requests for unknown HTTP vhosts 14 years ago
Matthew Wild 14dcbf13d5 net.http.server: Improve comment 14 years ago
Matthew Wild ecc47f2920 net.http.server: Remove unused variable 14 years ago
Matthew Wild 6cc3d15683 net.http.server: Correctly cache results of handler indexing, and also cache failures 14 years ago
Matthew Wild 887ca5f9fe Revert 98bfebb38705, moved to net.http.parser in 4fc99f1b7570 14 years ago
Matthew Wild a54e59650f net.http.server: Fire http-error 400 if request fails sanity checks 14 years ago
Matthew Wild 8edd8e0e8d net.http.server: Make error handling overrideable via 'http-error' event 14 years ago
Matthew Wild e3433dca1d net.server.http: Parse absolute URIs in requests (thanks Maranda) 14 years ago
Matthew Wild 2415fcd5c2 net.http.server: Expose events object (for debug purposes) 14 years ago
Matthew Wild dbb3dc6a01 net.http.server: Lower score of wildcard handlers to ensure specific handlers beat them 14 years ago
Matthew Wild 37840f043c net.http.server: Fix to compare priority if path lengths are the same (logic fail) 14 years ago
Matthew Wild 15585ed873 net.http.server: Support for on_destroy callback on response objects, and a 'finished' flag to say when they are destroyed (responded to or connection closed) 14 years ago
Matthew Wild b6ef379c9a net.http.server: Small fix to comment 14 years ago
Matthew Wild 8e4f5391a2 net.http.server: Remove legacy compatibility 14 years ago
Matthew Wild 7cb22f77a7 net.http.server: Handle results returned by handlers, and send as a response. Also removes explicit firing of '*', which can now be done via wildcard events. 14 years ago
Matthew Wild 37f43d0189 net.http.server: Remove debug message 14 years ago
Matthew Wild f2b4126967 net.http.server: Support for wildcard events (events that end with '/*') 14 years ago
Waqas Hussain c065013ced net.http.server: Fix legacy net.httpserver fallback (httpserver is no longer a global). 14 years ago
Waqas Hussain 59bd215bb2 net.http.server: Fire global HTTP event when no specific handlers available. 14 years ago
Waqas Hussain becd794524 net.http.server: Missing <title/> in 404 Not Found response. 14 years ago
Waqas Hussain 06f2b0f3a4 net.http.{server|codes|parser}: Initial commit. 14 years ago