aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.10->trunkMatthew Wild2014-08-281-1/+1
|\
| * Merge 0.9->0.10Matthew Wild2014-08-281-1/+1
| |\
| | * net.http.server: Comment out a log messageKim Alvefur2014-08-271-1/+1
| | |
* | | Merge 0.10->trunkMatthew Wild2014-07-252-0/+2
|\| |
| * | Merge 0.9->0.10Matthew Wild2014-07-252-0/+2
| |\|
| | * net.server_select/event: Switch sender mode to *a when reading, to make sure ↵Matthew Wild2014-07-252-0/+2
| | | | | | | | | | | | we get all available data
* | | Merge 0.10->trunkMatthew Wild2014-07-251-9/+6
|\| |
| * | Merge 0.9->0.10Matthew Wild2014-07-251-9/+6
| |\|
| | * net.dns: Remove unused obsolete codeMatthew Wild2014-07-251-4/+1
| | |
| | * net.dns: Ensure all pending requests get notified of a timeout when looking ↵Matthew Wild2014-07-251-5/+5
| | | | | | | | | | | | up a record (fix for d122420542fb)
* | | Merge 0.10->trunkKim Alvefur2014-06-302-1/+9
|\| |
| * | Merge 0.9->0.10Kim Alvefur2014-06-302-1/+9
| |\|
| | * net.dns: Fix duplicated cache insertions by limiting outstanding queries per ↵Kim Alvefur2014-06-301-1/+8
| | | | | | | | | | | | name to one
| | * net.adns: Add missing local declarationKim Alvefur2014-06-251-0/+1
| | |
* | | net/server_*: Fix addclient: LuaSocket 3.0-rc1 sometimes returns EALREADY ↵daurnimator2014-06-252-2/+2
| | | | | | | | | | | | instead of EINPROGRESS when the dns lookup has multiple results
* | | Merge 0.10->trunkKim Alvefur2014-04-151-4/+3
|\| |
| * | net.http.server: Fix some typos introduced in 420c0d3b8583.Daurnimator2014-04-151-4/+3
| | |
* | | Merge 0.10->trunkMatthew Wild2014-04-151-9/+17
|\| |
| * | net.http.server: Add prepare_header() and finish_response() to allow sending ↵Daurnimator2014-04-151-9/+17
| | | | | | | | | | | | chunked responses via the API
* | | Merge 0.10->trunkMatthew Wild2014-04-022-0/+2
|\| |
| * | Merge 0.9->0.10Matthew Wild2014-04-027-119/+133
| |\ \ | | |/ | |/|
| * | net.server_{select,event}: Add compat code for supporting the same client ↵Kim Alvefur2014-04-012-0/+2
| | | | | | | | | | | | port API on connections
| * | Backed out changeset a5b5bce71a11Kim Alvefur2014-03-311-1/+1
| | |
| * | net.server_event: Rename conn:port() -> conn:clientport() to match server_selectKim Alvefur2014-03-271-1/+1
| | |
* | | net.server_{select,event}: addclient: Handle missing getaddrinfoKim Alvefur2013-12-232-8/+4
| | |
* | | net.server_{select,event}: addclient: Use getaddrinfo to detect IP address ↵Kim Alvefur2013-12-232-2/+17
| | | | | | | | | | | | type if no socket type argument given. (Argument must be given for non-TCP)
* | | net.server_{select,event}: addclient: Add argument for overriding socket typeKim Alvefur2013-12-232-6/+22
| | |
* | | net/http: Use server.addclientdaurnimator2013-12-181-11/+6
| | |
* | | net/server: addclient: wrapclient already calls startconnection for usdaurnimator2013-12-181-2/+1
| | |
* | | net/server_event: pcall require ssl rather than relying on globalsdaurnimator2013-12-181-19/+11
| | |
* | | net/server_select: Fix typodaurnimator2013-12-181-1/+1
| | |
* | | net/server_select: addclient: Check argumentsdaurnimator2013-12-181-0/+15
| | |
* | | net/server_select: addclient: Check for failure correctly; remove ↵daurnimator2013-12-181-3/+3
| | | | | | | | | | | | wrapconnection call on failure
* | | net/server_event: add_client should have same arguments no-matter the server ↵daurnimator2013-12-181-21/+6
| | | | | | | | | | | | backend
* | | net/server_select: Check arguments to add_server correctlydaurnimator2013-12-181-3/+4
| | |
* | | net/server_select: pcall require ssl (easy to forget to require ssl)daurnimator2013-12-181-5/+5
| |/ |/|
* | Merge 0.9->0.10Matthew Wild2013-12-162-6/+3
|\|
| * net.server_select: Don't remove the socket from sendlist when we might have ↵Matthew Wild2013-12-161-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 Wild2013-12-161-1/+2
| | | | | | | | (thanks daurnimator)
* | server_select: fix onreadtimeout support so that listeners can override the ↵Matthew Wild2013-09-281-0/+4
| | | | | | | | default (disconnect) behaviour
* | net.server_select: Return handler from addclientKim Alvefur2013-09-061-2/+2
| |
* | net.server_select: Pass on all arguments to addclient on to wrapclientKim Alvefur2013-09-061-1/+1
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-097-57/+57
| |
* | Merge 0.9->trunkKim Alvefur2013-07-222-1/+2
|\|
| * net.server_event: Pass ondrain handler from listenerKim Alvefur2013-07-221-0/+1
| |
| * net.http.server: Fix Keep-Alive requests with HTTP 1.0Kim Alvefur2013-07-221-1/+1
| |
* | Merge 0.9->trunkKim Alvefur2013-07-102-3/+3
|\|
| * net.dns, net.adns: Make sure errors from net.server are propagated (thanks ↵Kim Alvefur2013-07-102-3/+3
| | | | | | | | asterix)
* | Merge 0.9->trunkMatthew Wild2013-06-261-4/+13
|\|
| * net.http: Include port number (when non-standard) in the Host header of ↵Matthew Wild2013-06-261-4/+13
| | | | | | | | outgoing requests, as per the HTTP RFC