Commit Graph

742 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 a5f74207fd net.http.parser: Fix whitespace/indentation 11 years ago
daurnimator d13b001832 net.http.parser: Fix chunked encoding parsing across packet boundaries. 11 years ago
Kim Alvefur c68bed48e9 net.dns: Try next server if peer name can not be set (thanks wirehack7) 11 years ago
Kim Alvefur 450ee96e48 net.dns: Return new socket from servfail 11 years ago
Kim Alvefur e6ae3454cf net.adns: Log peername recorded from wrapped setpeername instead of calling sock:getpeername, it exists and throws an error on unconnected sockets (thanks wirehack7) 11 years ago
Kim Alvefur be1fe5d715 net.adns: Preserve error from setpeername 11 years ago
Matthew Wild 26cd63e77f certmanager, net.http: Disable SSLv3 by default 11 years ago
Florian Zeitz 2b53ced362 net.dns: Avoid duplicate cache entries 11 years ago
Matthew Wild 43bc05285d net.http.parser: Support status code 101 and allow handling of the received data by someone else 11 years ago
Matthew Wild 69d97b4f7e net.server_select: 'listener'->'listeners' (fixes undefined global access) 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
Matthew Wild 257d0f104b net.server_{select,event}: Add 'ondetach' callback for listener objects, to notify them when another listener is being assigned to a connection 12 years ago
Kim Alvefur 13844f7635 net.http.server: Comment out a log message 12 years ago
Matthew Wild 57a4449fce net.server_select/event: Switch sender mode to *a when reading, to make sure we get all available data 12 years ago
Matthew Wild 7ff1520d7d net.dns: Remove unused obsolete code 12 years ago
Matthew Wild 4ed07e7947 net.dns: Ensure all pending requests get notified of a timeout when looking up a record (fix for d122420542fb) 12 years ago
Kim Alvefur 7ef57da047 net.dns: Fix duplicated cache insertions by limiting outstanding queries per name to one 12 years ago
Kim Alvefur 608509a8b5 net.adns: Add missing local declaration 12 years ago
Kim Alvefur cf7efc33b2 net.server_{select,event}: Add compat code for supporting the same client port API on connections 12 years ago
Kim Alvefur a1784f1aa0 Backed out changeset a5b5bce71a11 12 years ago
Kim Alvefur d495e6ca50 net.server_event: Rename conn:port() -> conn:clientport() to match server_select 12 years ago
Matthew Wild e204ed5dce net.server_select: Don't remove the socket from sendlist when we might have data in the buffer (we'll now let sendbuffer() take care of that) (thanks daurnimator) 12 years ago
Matthew Wild edb2882b96 net.http: assert() for socket creation success so it doesn't silently fail (thanks daurnimator) 12 years ago
Kim Alvefur 4b01c2691b net.server_event: Pass ondrain handler from listener 13 years ago
Kim Alvefur 74b83382ab net.http.server: Fix Keep-Alive requests with HTTP 1.0 13 years ago
Kim Alvefur 5b13d561ee net.dns, net.adns: Make sure errors from net.server are propagated (thanks asterix) 13 years ago
Matthew Wild 3ad5836d2e net.http: Include port number (when non-standard) in the Host header of outgoing requests, as per the HTTP RFC 13 years ago
Kim Alvefur 4675a091eb net.server_select: Make sure there is a server to pause when hitting maxfd (Thanks elghinn) 13 years ago
Waqas Hussain 216ded22c8 net.server_select: Ensure _maxfd = math.huge on Windows, always. 13 years ago
Kim Alvefur 694d42d322 net.dns: Add nicer API to cached records 13 years ago
Waqas Hussain e7ac57cac6 net.server_select: Don't limit max file descriptor number on Windows. 13 years ago
Kim Alvefur a7340fef1c net.server*: Allow the TCP backlog parameter to be set in the config 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
Matthew Wild 1da2e8a43e net.server_select: Don't call onconnect twice for SSL connections 13 years ago
Matthew Wild e6c2af23eb Backed out changeset f2631a14b953 13 years ago
Matthew Wild 6dced9f482 net.http: When HTTP request fails due to a network or SSL error, call the callback to let it know 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
Kim Alvefur 012519b6ad net.server_select: Don't call onconnect twice on SSL connections 13 years ago
Waqas Hussain fa54448b7a net.server_select: Add and improve some comments. 13 years ago
Waqas Hussain 107fcdf36a net.server_select: Move socket timeout cleanup code out of a timer, into the select loop (which makes util.timer the only timer using server_select._addtimer). 13 years ago
Kim Alvefur de11909b74 net.server_select: Normalize indentation 13 years ago
Matthew Wild 427b82db0f net.http.parser: Remove accidentally-committed debugging 13 years ago
Matthew Wild 91b727be71 net.http.parser: Fix off-by-one error in chunked encoding parser 13 years ago
Matthew Wild ef9b86202e net.http: Swap response and request parameters passed to callback (will break some modules) 13 years ago