aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net.dns: Simplify expiry calculation (fixes #919)Kim Alvefur2017-05-221-8/+2
|
* net.server_select: Prevent writes after a handler is closed (fixes #783 I hope)Kim Alvefur2016-11-221-0/+1
|
* net.http.server: Expose way to set http server optionsKim Alvefur2016-08-181-1/+8
|
* net.http.parser: Allow limits to be configurable via options callbackKim Alvefur2016-08-181-2/+2
|
* net.http.parser: Add a limit on maximum buffer size, default to 20MKim Alvefur2016-08-181-0/+2
|
* net.http.parser: Add a limit on content length, default to 10MKim Alvefur2016-08-181-0/+2
|
* net.http.parser: Buffer into a table to reduce GC pressure, collapse to ↵Kim Alvefur2016-08-131-7/+22
| | | | string when needed (fixes #603)
* net.server_event: Check the buffer *length*, not the buffer itself (Fixes ↵Kim Alvefur2016-04-191-1/+1
| | | | 100% cpu usage introduced in 65abd9d7bf88)
* net.server_event: Return the correct value as timeoutKim Alvefur2016-04-191-1/+1
|
* net.server_event: Fix traceback if event re-added during starttlsKim Alvefur2016-04-191-4/+3
|
* net.server_event: Re-add write event if writebuffer is non-empty after write ↵Kim Alvefur2016-04-191-0/+4
| | | | (eg due to writes from ondrain callback) (fixes #661)
* net.server_event: Return true from conn:resume() to indicate successKim Alvefur2016-03-021-0/+1
|
* net.server_event: Prevent resuming connections without readcallback, eg ↵Kim Alvefur2016-03-021-1/+1
| | | | closed connections (fixes #590)
* server_select: Add logging of when servers are paused and resumedKim Alvefur2016-01-221-0/+2
|
* server_select: Pause and mark server as full if accepting a client fails ↵Kim Alvefur2016-01-221-0/+2
| | | | (fixes #597)
* server_select: Retry accepting clients from full servers after 10s (matches ↵Kim Alvefur2016-01-222-1/+12
| | | | libevent behaviour)
* server_select: Keep track of which server listeners are fullKim Alvefur2016-01-221-0/+5
|
* net.dns: Remember query only after it was sent, in case it was not (fixes #598)Kim Alvefur2016-01-211-5/+5
|
* Backout 88d54bec26b7 prior to release, as it certainly requires more testing0.9.9Matthew Wild2016-01-081-1/+3
|
* net.dns: Allow a zone id in resolv.conf (eg like %eth0)Kim Alvefur2016-01-041-1/+1
|
* net.dns: Support IPv6 addresses in resolv.conf [Backported from 0.10]Florian Zeitz2013-06-181-6/+13
|
* net.dns: Unconditionally cache records found in answersMatthew Wild2015-05-251-3/+1
|
* net.dns: Make sure argument to math.randomseed does not overflow a 32 bit ↵Kim Alvefur2015-04-261-1/+1
| | | | *signed* int (blame Lua). Closes #439
* net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2sKim Alvefur2015-04-241-3/+8
|
* net.http.server: Log event name when firing a request eventMatthew Wild2015-03-141-1/+1
|
* net.http.parser: Fix whitespace/indentationMatthew Wild2014-11-181-5/+5
|
* net.http.parser: Fix chunked encoding parsing across packet boundaries.daurnimator2014-11-101-1/+1
|
* net.dns: Try next server if peer name can not be set (thanks wirehack7)Kim Alvefur2014-10-301-6/+10
|
* net.dns: Return new socket from servfailKim Alvefur2014-10-301-3/+4
|
* net.adns: Log peername recorded from wrapped setpeername instead of calling ↵Kim Alvefur2014-10-301-2/+1
| | | | sock:getpeername, it exists and throws an error on unconnected sockets (thanks wirehack7)
* net.adns: Preserve error from setpeernameKim Alvefur2014-10-301-1/+1
|
* certmanager, net.http: Disable SSLv3 by default0.9.6Matthew Wild2014-10-141-1/+1
|
* net.dns: Avoid duplicate cache entriesFlorian Zeitz2014-10-051-4/+9
|
* net.http.parser: Support status code 101 and allow handling of the received ↵Matthew Wild2014-09-031-1/+5
| | | | data by someone else
* 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
* net.http.server: Comment out a log messageKim Alvefur2014-08-271-1/+1
|
* 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
* 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)
* 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_{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
|