aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|