aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | net.server_{select,event}: Don't rely on LuaSocket and LuaSec being present ↵Kim Alvefur2015-02-232-11/+11
| | | | | | | | in the globals table
* | net.*: Remove use of module() functionKim Alvefur2015-02-215-34/+44
| |
* | net.dns: Remove resolver:new(), as it needlessly and incorrectly duplicates ↵Matthew Wild2015-07-061-11/+0
| | | | | | | | dns.resolver()
* | net.http.codes: Update from registryKim Alvefur2015-05-141-3/+9
| |
* | Merge 0.9->0.10Kim Alvefur2015-05-031-1/+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
* | Merge 0.9->0.10Kim Alvefur2015-04-261-3/+8
|\|
| * net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2sKim Alvefur2015-04-241-3/+8
| |
* | Merge 0.9->0.10 (third time lucky)Matthew Wild2015-03-271-1/+1
|\|
| * net.http.server: Log event name when firing a request eventMatthew Wild2015-03-141-1/+1
| |
* | net.http.server: Log names of the events firedKim Alvefur2014-12-081-1/+1
| |
* | Merge 0.9->0.10Kim Alvefur2014-11-201-6/+6
|\|
| * 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
| |
* | Merge 0.9 -> 0.10Kim Alvefur2014-11-092-10/+14
|\|
| * 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
| |