aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.9->0.10Kim Alvefur2016-03-021-525/+526
|\
| * 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)
* | Merge 0.9->0.10Kim Alvefur2016-01-223-8/+28
|\|
| * 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
| |
* | net.http.server: Return from listen_on() whatever net.server.addserver() returnsKim Alvefur2016-01-161-1/+1
| |
* | net.server_select: Add 'server' method to client connections (present in ↵Kim Alvefur2016-01-091-0/+3
| | | | | | | | server_event)
* | Merge 0.9->0.10Kim Alvefur2016-01-081-2/+4
|\|
| * 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
| |
* | server_select: Forward the actual TLS handshake error messageKim Alvefur2016-01-031-2/+3
| |
* | net.server_select: Close all connections when quitting (and not just ↵Matthew Wild2016-01-021-0/+1
| | | | | | | | stepping), matches server_event
* | net.server_event: Add conn.type == 'server' for server sockets (fixes ↵Matthew Wild2016-01-021-0/+1
| | | | | | | | closeallservers() )
* | net.http.server: Import util.cacheMatthew Wild2015-12-031-0/+1
| |
* | net.http.server: Use new util.cache to remember wildcard event handlersMatthew Wild2015-12-031-5/+5
| |
* | net.websocket.frames: Fix syntax error due to code copy pastingKim Alvefur2015-10-061-2/+2
| |
* | net.websocket.frames: Use struct packing in Lua 5.3 or struct lib if availableKim Alvefur2015-10-061-0/+25
| |
* | net.websocket.frames: Pack and unpack 64bit ints without overflows ↵Kim Alvefur2015-10-061-4/+6
| | | | | | | | (lua-bitop/bit32 are 32bit)
* | net.websocket.frames: Link to documentation when bitop is missingKim Alvefur2015-10-061-1/+1
| |
* | net.websocket.frames: Throw an error if no bit lib is foundKim Alvefur2015-10-061-2/+2
| |
* | net.websocket.frames: Simplify import of bitlibKim Alvefur2015-10-061-3/+1
| |
* | MergeKim Alvefur2015-09-251-3/+1
|\ \
| * | Merge 0.9->0.10Matthew Wild2015-09-251-3/+1
| |\|
| | * net.dns: Unconditionally cache records found in answersMatthew Wild2015-05-251-3/+1
| | |
* | | server_event: Fix indentationKim Alvefur2015-09-251-5/+5
| | |
* | | server_event: Put function keyword on same line as the coroutine.wrap it's ↵Kim Alvefur2015-09-251-2/+1
|/ / | | | | | | being passed to
* | server_event: Normalize indentationKim Alvefur2015-09-251-118/+118
| |
* | net.dns: Use new IPv4-specific socket factory if available (fixes dns on ↵Kim Alvefur2015-09-251-1/+1
| | | | | | | | libevent with latest development version of luasocket)
* | server_event: Remove unused argument [luacheck]Kim Alvefur2015-09-251-1/+1
| |
* | server_event: Comment out the unused vdebug function [luacheck]Kim Alvefur2015-09-251-1/+1
| |
* | server_event: Remove unused former argument (fixes global access) [luacheck]Kim Alvefur2015-09-251-1/+1
| |
* | server_event: Rename luaevent module variable to avoid name clash [luacheck]Kim Alvefur2015-09-251-7/+7
| |
* | server_event: Add luacheck annotationsKim Alvefur2015-09-251-1/+2
| |
* | server_event: Remove needless scoping and indentationKim Alvefur2015-09-251-579/+562
| |
* | server_event: Move local references to various functions to top of fileKim Alvefur2015-09-251-22/+18
| |
* | server_event: Replace implementation of ordered set with a simple table setKim Alvefur2015-09-251-38/+6
| |
* | net/http: Use server.addclientdaurnimator2013-12-181-11/+6
| |
* | 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-4/+18
| |
* | net/server_event: pcall require ssl rather than relying on globalsdaurnimator2013-12-181-15/+7
| |
* | net/server_event: add_client should have same arguments no-matter the server ↵daurnimator2013-12-181-21/+6
| | | | | | | | backend
* | 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_select: Check arguments to add_server correctlydaurnimator2013-12-181-3/+4
| |