aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* net.http.server: Code cleanup/adjustment now that send_response() accepts ↵Matthew Wild2012-04-281-3/+1
| | | | response.body
* net.http.server: Use response.body if it exists and body is not specified to ↵Matthew Wild2012-04-281-1/+1
| | | | send_response
* net.httpserver: Add compatibility stubMatthew Wild2012-04-281-0/+15
|
* net.http.server: Remove unused imports and variables (fixes traceback due to ↵Matthew Wild2012-04-281-4/+2
| | | | removed net.httpserver)
* net.httpserver, net.httpserver_listener: Remove (obsoleted by net.http.* and ↵Matthew Wild2012-04-282-284/+0
| | | | mod_http, see http://prosody.im/doc/developers/http )
* net.http.server: Try default_host if client sent no host anywhere, ↵Matthew Wild2012-04-281-4/+4
| | | | otherwise... fail. It's 2012.
* net.http.server: Fix traceback on missing host header (thanks darkrain)Matthew Wild2012-04-281-2/+1
|