aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* net.server: Don't return anything from config-reloaded hook, fixes logrotate ↵Kim Alvefur2012-12-291-2/+1
| | | | heisenbug
* net.server_select: Pause servers while they are fullKim Alvefur2012-12-281-0/+4
|
* net.server_select: Add pause and resume methodsKim Alvefur2012-12-281-0/+19
|
* net.server_event: Destroy interfaces immediately, fixes reopening of servers.Kim Alvefur2012-12-281-8/+2
|
* net.server_event: Remove comments about not closing event handlers from ↵Kim Alvefur2012-12-281-4/+3
| | | | within callbacks, fixed in luaevent
* net.dns: Close voided sockets, so they don't stay in net.serverKim Alvefur2012-12-221-0/+1
|
* net.dns: Clean up query list when a server is marked downMatthew Wild2012-12-221-0/+5
|
* net.http.parser: Skip url.parse when we don't have a full URL (also fixes ↵Waqas Hussain2012-12-211-1/+8
| | | | traceback on paths starting with '//').
* net.http.parser: Fix syntax error introduced in c5edb08fc7cb.Waqas Hussain2012-12-031-1/+1
|
* net.http.parser: Collapse multiple consecutive slashes in a path to a single ↵Matthew Wild2012-11-291-1/+1
| | | | slash
* net.server: Fix when no network_settings set and using libeventKim Alvefur2012-11-231-1/+1
|
* net.server: Make server_* configurable in the config file.Kim Alvefur2012-11-231-0/+32
|
* net.server_select: Better names for config options (thanks MattJ)Kim Alvefur2012-11-231-10/+10
|
* net.server_event: Replace usage of string.len() with # operatorMatthew Wild2012-07-261-2/+1
|
* net.server_event: Don't emit empty packets, check for errors first. (fixes #287)Kim Alvefur2012-07-251-4/+4
|
* net.server_event: Remove unused variables and importsMatthew Wild2012-07-221-9/+1
|
* net.server_select: Remove unused variables and importsMatthew Wild2012-07-221-5/+0
|
* net.server_select: Remove extraneous variableMatthew Wild2012-07-221-1/+0
|
* net.server_select: Never call ondisconnect() directly, go via ↵Matthew Wild2012-07-221-14/+11
| | | | handler:close() or handler:force_close() - fixes cases where ondisconnect() could be called multiple times for the same connection, leading to issues with s2sout retry logic.
* Merge with ZashMatthew Wild2012-07-221-2/+2
|\
| * net.http: Use base64 from util.encodings instead of luasocketKim Alvefur2012-07-071-2/+2
| |
* | net.http: Don't call ondisconnect manually, net.server now calls it on closeMatthew Wild2012-07-221-1/+0
| |
* | net.server_select, net.server_event: Change semantics of conn:close() - ↵Matthew Wild2012-07-222-26/+32
|/ | | | always call ondisconnect (with err == nil), and never close with data in send buffer (i.e. 'now' parameter removed)
* net.http.parser: Break loop when no more usable data in bufferMatthew Wild2012-05-251-0/+2
|
* net.server_event: Internal changes to get plain-SSL outgoing connections ↵Matthew Wild2012-05-241-3/+3
| | | | working (as for HTTPS)
* net.server_event: Assume wrapclient() is taking a new connection, and call ↵Matthew Wild2012-05-241-1/+1
| | | | onconnect when appropriate (to match server_select)
* net.server_select: Don't close client connections when closing a server (it ↵Matthew Wild2012-05-231-7/+1
| | | | wasn't working anyway)
* net.server_select: Call ondisconnect handler, even if we closed the socket ↵Matthew Wild2012-05-231-0/+4
| | | | ourselves (fixes HTTP session hoarding, thanks Maranda)
* net.server_select: Return error when SSL handshake fails immediately (thanks ↵Matthew Wild2012-05-181-3/+6
| | | | Zash)
* net.http.parser: Keep the Host header no host is present in the URIKim Alvefur2012-05-151-1/+1
|
* net.http.parser: Do full URL decoding and parsing (e.g. adds ↵Matthew Wild2012-05-121-5/+7
| | | | request.url.query when present)
* net.http: Fix urlencode to not encode unreserved characters, so I can ↵Matthew Wild2012-05-121-1/+1
| | | | guiltlessly rant about people who do.
* net.server: server_select != server_event (thanks Nulani, Florob)Matthew Wild2012-05-031-1/+1
|
* net.server, net.timer, net.server_select: Rearrange dependencies between ↵Matthew Wild2012-05-032-16/+3
| | | | these three modules. server.addtimer() is no longer a public function (renamed to _addtimer) and is not available at all from server_event (compat code removed to prevent traceback) (thanks Nulani)
* net.connlisteners: Add COMPAT stub, use portmanager!Matthew Wild2012-04-281-0/+15
|