aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Check Sec-WebSocket-Protocol headerFlorian Zeitz2014-09-051-5/+10
|
* net/websocket: Add new websocket client codedaurnimator2014-09-032-0/+459
|
* Merge 0.9->0.10Matthew Wild2014-09-031-1/+5
|\
| * net.http.parser: Support status code 101 and allow handling of the received ↵Matthew Wild2014-09-031-1/+5
| | | | | | | | data by someone else
* | Merge 0.9->0.10Kim Alvefur2014-09-024-3/+21
|\|
| * net.server_select: 'listener'->'listeners' (fixes undefined global access)Matthew Wild2014-09-021-1/+1
| |
| * net.http, net.http.server, mod_c2s, mod_s2s, mod_component, ↵Matthew Wild2014-08-292-0/+8
| | | | | | | | mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
| * net.server_{select,event}: Add 'ondetach' callback for listener objects, to ↵Matthew Wild2014-08-292-2/+13
| | | | | | | | notify them when another listener is being assigned to a connection
* | 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.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.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.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.http.server: Fix some typos introduced in 420c0d3b8583.Daurnimator2014-04-151-4/+3
| |
* | net.http.server: Add prepare_header() and finish_response() to allow sending ↵Daurnimator2014-04-151-9/+17
| | | | | | | | chunked responses via the API
* | Merge 0.9->0.10Matthew Wild2014-04-027-119/+133
|\ \ | |/ |/|
| * Merge 0.9->0.10Matthew Wild2013-12-162-6/+3
| |\
| * | 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
| |\ \
| * \ \ Merge 0.9->trunkKim Alvefur2013-07-102-3/+3
| |\ \ \
| * \ \ \ Merge 0.9->trunkMatthew Wild2013-06-261-4/+13
| |\ \ \ \
| * | | | | net.dns: Support IPv6 addresses in resolv.confFlorian Zeitz2013-06-181-6/+13
| | | | | |
| * | | | | Merge 0.9->trunkKim Alvefur2013-06-091-1/+3
| |\ \ \ \ \
| * \ \ \ \ \ Merge 0.9->trunkMatthew Wild2013-06-051-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.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: 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)
* | | | | | 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
| |_|_|_|/ |/| | | |
* | | | | net.dns, net.adns: Make sure errors from net.server are propagated (thanks ↵Kim Alvefur2013-07-102-3/+3
| |_|_|/ |/| | | | | | | | | | | asterix)
* | | | 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
* | | net.server_select: Make sure there is a server to pause when hitting maxfd ↵Kim Alvefur2013-06-091-1/+3
| |/ |/| | | | | (Thanks elghinn)
* | net.server_select: Ensure _maxfd = math.huge on Windows, always.Waqas Hussain2013-06-021-1/+1
|/
* 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