Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 7 | -57/+57 | |
| | | | ||||||
| * | | Merge 0.9->trunk | Kim Alvefur | 2013-07-22 | 2 | -1/+2 | |
| |\ \ | ||||||
| * \ \ | Merge 0.9->trunk | Kim Alvefur | 2013-07-10 | 2 | -3/+3 | |
| |\ \ \ | ||||||
| * \ \ \ | Merge 0.9->trunk | Matthew Wild | 2013-06-26 | 1 | -4/+13 | |
| |\ \ \ \ | ||||||
| * | | | | | net.dns: Support IPv6 addresses in resolv.conf | Florian Zeitz | 2013-06-18 | 1 | -6/+13 | |
| | | | | | | ||||||
| * | | | | | Merge 0.9->trunk | Kim Alvefur | 2013-06-09 | 1 | -1/+3 | |
| |\ \ \ \ \ | ||||||
| * \ \ \ \ \ | Merge 0.9->trunk | Matthew Wild | 2013-06-05 | 1 | -1/+1 | |
| |\ \ \ \ \ \ | ||||||
| * | | | | | | | net.server_select: Default checkinterval to 30s, so that read timeouts are ↵ | Matthew Wild | 2013-05-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actually detected | |||||
| * | | | | | | | net.server_select: Support for listener.onreadtimeout() [see also e67891ad18d6] | Matthew Wild | 2013-05-24 | 1 | -4/+4 | |
| | | | | | | | | ||||||
| * | | | | | | | net.server_event: Add support for listener.onreadtimeout(conn), which can ↵ | Matthew Wild | 2013-05-24 | 1 | -49/+52 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | return true to prevent the connection from being closed when a read timeout occurs | |||||
* | | | | | | | | net.server_{select,event}: Add compat code for supporting the same client ↵ | Kim Alvefur | 2014-04-01 | 2 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | port API on connections | |||||
* | | | | | | | | Backed out changeset a5b5bce71a11 | Kim Alvefur | 2014-03-31 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | net.server_event: Rename conn:port() -> conn:clientport() to match server_select | Kim Alvefur | 2014-03-27 | 1 | -1/+1 | |
| |_|_|_|_|_|/ |/| | | | | | | ||||||
* | | | | | | | net.server_select: Don't remove the socket from sendlist when we might have ↵ | Matthew Wild | 2013-12-16 | 1 | -5/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | data in the buffer (we'll now let sendbuffer() take care of that) (thanks daurnimator) | |||||
* | | | | | | | net.http: assert() for socket creation success so it doesn't silently fail ↵ | Matthew Wild | 2013-12-16 | 1 | -1/+2 | |
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | (thanks daurnimator) | |||||
* | | | | | | net.server_event: Pass ondrain handler from listener | Kim Alvefur | 2013-07-22 | 1 | -0/+1 | |
| | | | | | | ||||||
* | | | | | | net.http.server: Fix Keep-Alive requests with HTTP 1.0 | Kim Alvefur | 2013-07-22 | 1 | -1/+1 | |
| |_|_|_|/ |/| | | | | ||||||
* | | | | | net.dns, net.adns: Make sure errors from net.server are propagated (thanks ↵ | Kim Alvefur | 2013-07-10 | 2 | -3/+3 | |
| |_|_|/ |/| | | | | | | | | | | | asterix) | |||||
* | | | | net.http: Include port number (when non-standard) in the Host header of ↵ | Matthew Wild | 2013-06-26 | 1 | -4/+13 | |
| |_|/ |/| | | | | | | | | outgoing requests, as per the HTTP RFC | |||||
* | | | net.server_select: Make sure there is a server to pause when hitting maxfd ↵ | Kim Alvefur | 2013-06-09 | 1 | -1/+3 | |
| |/ |/| | | | | | (Thanks elghinn) | |||||
* | | net.server_select: Ensure _maxfd = math.huge on Windows, always. | Waqas Hussain | 2013-06-02 | 1 | -1/+1 | |
|/ | ||||||
* | net.dns: Add nicer API to cached records | Kim Alvefur | 2013-05-07 | 1 | -0/+4 | |
| | ||||||
* | net.server_select: Don't limit max file descriptor number on Windows. | Waqas Hussain | 2013-04-29 | 1 | -1/+2 | |
| | ||||||
* | net.server*: Allow the TCP backlog parameter to be set in the config | Kim Alvefur | 2013-04-27 | 3 | -2/+8 | |
| | ||||||
* | mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit ↵ | Matthew Wild | 2013-04-22 | 2 | -6/+6 | |
| | | | | traceback function), to make it clearer where an error occured | |||||
* | net.server.http: Add a comment | Matthew Wild | 2013-04-22 | 1 | -0/+1 | |
| | ||||||
* | net.server.http: Ensure that event map cannot grow forever (limit to 10K ↵ | Matthew Wild | 2013-04-22 | 1 | -0/+8 | |
| | | | | wildcard-only entries) | |||||
* | net.server_select: Don't call onconnect twice for SSL connections | Matthew Wild | 2013-04-18 | 1 | -1/+1 | |
| | ||||||
* | Merge backout | Matthew Wild | 2013-04-18 | 1 | -0/+3 | |
|\ | ||||||
| * | Backed out changeset f2631a14b953 | Matthew Wild | 2013-04-18 | 1 | -0/+3 | |
| | | ||||||
* | | net.http: When HTTP request fails due to a network or SSL error, call the ↵ | Matthew Wild | 2013-04-18 | 1 | -7/+12 | |
| | | | | | | | | callback to let it know | |||||
* | | net.http.server: The correct Connection header value to look for is ↵ | Waqas Hussain | 2013-04-17 | 1 | -1/+1 | |
| | | | | | | | | Keep-Alive, not keep-alive. | |||||
* | | net.server_select: Add and improve some comments. | Waqas Hussain | 2013-04-16 | 1 | -2/+5 | |
| | | ||||||
* | | net.server_select: Move socket timeout cleanup code out of a timer, into the ↵ | Waqas Hussain | 2013-04-16 | 1 | -22/+20 | |
| | | | | | | | | select loop (which makes util.timer the only timer using server_select._addtimer). | |||||
* | | net.server_select: Normalize indentation | Kim Alvefur | 2013-04-17 | 1 | -6/+6 | |
|/ | ||||||
* | net.server_select: Don't call onconnect twice on SSL connections | Kim Alvefur | 2013-04-17 | 1 | -3/+0 | |
| | ||||||
* | net.http.parser: Remove accidentally-committed debugging | Matthew Wild | 2013-04-15 | 1 | -1/+0 | |
| | ||||||
* | net.http.parser: Fix off-by-one error in chunked encoding parser | Matthew Wild | 2013-04-15 | 1 | -1/+2 | |
| | ||||||
* | net.http: Swap response and request parameters passed to callback (will ↵ | Matthew Wild | 2013-04-12 | 1 | -2/+1 | |
| | | | | break some modules) | |||||
* | net.http: Switch from util.httpstream to net.http.parser, introduces small ↵ | Matthew Wild | 2013-04-11 | 1 | -1/+1 | |
| | | | | but backwards-incompatible API changes - see http://prosody.im/doc/developers/http | |||||
* | net.http.parser: Fix chunked encoding response parsing, and make it more robust | Matthew Wild | 2013-04-11 | 1 | -15/+20 | |
| | ||||||
* | net.http.parser: Convert status_code to a number before trying to compare it ↵ | Matthew Wild | 2013-04-11 | 1 | -0/+1 | |
| | | | | to numbers | |||||
* | net.http.parser: Break when no more usable data in buffer (client part of ↵ | Matthew Wild | 2013-04-11 | 1 | -0/+2 | |
| | | | | e5ec60dfb202) | |||||
* | net.http.parser: Depend on util.http instead of net.http for urlencode | Matthew Wild | 2013-04-11 | 1 | -1/+1 | |
| | ||||||
* | net.http, util.http: Move definitions of urlencode/decode and ↵ | Matthew Wild | 2013-04-11 | 1 | -41/+7 | |
| | | | | formencode/decode to util.http (possible to use them without unnecessary network-related dependencies) | |||||
* | net.http: Throw error when connecting to a http:// URL without LuaSec available | Matthew Wild | 2013-04-08 | 1 | -0/+5 | |
| | ||||||
* | net.http.server: add API to allow firing events directly on the server. | Marco Cirillo | 2013-04-07 | 1 | -0/+3 | |
| | ||||||
* | net.http.server: Don't overwrite existing response.headers when returning a ↵ | Matthew Wild | 2013-03-31 | 1 | -1/+7 | |
| | | | | response object from a HTTP handler (waqas says it's wrong) | |||||
* | net.server, _select: Reorganise configuration of server_select to be more ↵ | Kim Alvefur | 2013-03-23 | 2 | -4/+23 | |
| | | | | like server_event | |||||
* | net.server: No sections in config anymore | Kim Alvefur | 2013-03-23 | 1 | -2/+2 | |
| |