aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge 0.9->trunkMatthew Wild2013-06-051-1/+1
|\|
| * net.server_select: Ensure _maxfd = math.huge on Windows, always.Waqas Hussain2013-06-021-1/+1
| |
* | net.server_select: Default checkinterval to 30s, so that read timeouts are ↵Matthew Wild2013-05-241-1/+1
| | | | | | | | actually detected
* | net.server_select: Support for listener.onreadtimeout() [see also e67891ad18d6]Matthew Wild2013-05-241-4/+4
| |
* | net.server_event: Add support for listener.onreadtimeout(conn), which can ↵Matthew Wild2013-05-241-49/+52
|/ | | | return true to prevent the connection from being closed when a read timeout occurs
* net.dns: Add nicer API to cached recordsKim Alvefur2013-05-071-0/+4
|
* net.server_select: Don't limit max file descriptor number on Windows.Waqas Hussain2013-04-291-1/+2
|
* net.server*: Allow the TCP backlog parameter to be set in the configKim Alvefur2013-04-273-2/+8
|
* mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit ↵Matthew Wild2013-04-222-6/+6
| | | | traceback function), to make it clearer where an error occured
* net.server.http: Add a commentMatthew Wild2013-04-221-0/+1
|
* net.server.http: Ensure that event map cannot grow forever (limit to 10K ↵Matthew Wild2013-04-221-0/+8
| | | | wildcard-only entries)
* net.server_select: Don't call onconnect twice for SSL connectionsMatthew Wild2013-04-181-1/+1
|
* Merge backoutMatthew Wild2013-04-181-0/+3
|\
| * Backed out changeset f2631a14b953Matthew Wild2013-04-181-0/+3
| |
* | net.http: When HTTP request fails due to a network or SSL error, call the ↵Matthew Wild2013-04-181-7/+12
| | | | | | | | callback to let it know
* | net.http.server: The correct Connection header value to look for is ↵Waqas Hussain2013-04-171-1/+1
| | | | | | | | Keep-Alive, not keep-alive.
* | net.server_select: Add and improve some comments.Waqas Hussain2013-04-161-2/+5
| |
* | net.server_select: Move socket timeout cleanup code out of a timer, into the ↵Waqas Hussain2013-04-161-22/+20
| | | | | | | | select loop (which makes util.timer the only timer using server_select._addtimer).
* | net.server_select: Normalize indentationKim Alvefur2013-04-171-6/+6
|/
* net.server_select: Don't call onconnect twice on SSL connectionsKim Alvefur2013-04-171-3/+0
|
* net.http.parser: Remove accidentally-committed debuggingMatthew Wild2013-04-151-1/+0
|
* net.http.parser: Fix off-by-one error in chunked encoding parserMatthew Wild2013-04-151-1/+2
|
* net.http: Swap response and request parameters passed to callback (will ↵Matthew Wild2013-04-121-2/+1
| | | | break some modules)
* net.http: Switch from util.httpstream to net.http.parser, introduces small ↵Matthew Wild2013-04-111-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 robustMatthew Wild2013-04-111-15/+20
|
* net.http.parser: Convert status_code to a number before trying to compare it ↵Matthew Wild2013-04-111-0/+1
| | | | to numbers
* net.http.parser: Break when no more usable data in buffer (client part of ↵Matthew Wild2013-04-111-0/+2
| | | | e5ec60dfb202)
* net.http.parser: Depend on util.http instead of net.http for urlencodeMatthew Wild2013-04-111-1/+1
|
* net.http, util.http: Move definitions of urlencode/decode and ↵Matthew Wild2013-04-111-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 availableMatthew Wild2013-04-081-0/+5
|
* net.http.server: add API to allow firing events directly on the server.Marco Cirillo2013-04-071-0/+3
|
* net.http.server: Don't overwrite existing response.headers when returning a ↵Matthew Wild2013-03-311-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 Alvefur2013-03-232-4/+23
| | | | like server_event
* net.server: No sections in config anymoreKim Alvefur2013-03-231-2/+2
|
* net.http: Disable SSLv2 support for HTTPS connectionsMatthew Wild2013-03-201-1/+1
|
* net.http: Allow passing an SSL context or options table to be used for HTTPS ↵Matthew Wild2013-03-201-1/+6
| | | | requests (thanks daurnimator)
* net.dns: Make sure argument to math.randomseed does not overflow a 32 bit ↵Kim Alvefur2013-03-051-1/+1
| | | | unsigned int. Closes #320
* net.server_event: Remove unused localKim Alvefur2013-03-011-1/+0
|
* net.server_select: Optimization, clean bufferqueue when it makes sense.Kim Alvefur2013-03-011-16/+5
|
* net.server_select: Use # operator instead of string.lenKim Alvefur2013-03-011-3/+2
|
* net.http.server: Ensure HTTP callbacks are never called recursively for ↵Waqas Hussain2013-02-261-9/+10
| | | | pipelined requests.
* net.server_select: Limit global number of sockets passed to select.Kim Alvefur2013-02-121-9/+23
|
* net.server_select: Be less aggressive about server pauseKim Alvefur2013-02-121-8/+11
|
* net.http.parser: Ensure full URL in status line contains a path.Waqas Hussain2013-02-081-1/+1
|
* net.http.parser: Fix traceback on invalid URL in status line.Waqas Hussain2013-02-081-0/+1
|
* net.http.server: Properly handle persistent connectionsFlorian Zeitz2013-01-121-3/+14
|
* net.http.parser: Abort if no status line is received.Kim Alvefur2013-01-081-0/+1
|
* net.server_select: Remove useless duplicated settimeout() callKim Alvefur2013-01-071-1/+0
|
* net.server_select: Fix global accessKim Alvefur2013-01-071-0/+1
|
* net.server_event: Optimize socket write buffers (don't do buf=buf..newdata).Waqas Hussain2013-01-061-5/+9
|