aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* server_epoll: Restore mark on connections which had the onconnect handler ↵Kim Alvefur2018-02-031-1/+4
| | | | called so it is only done once
* server_epoll: Rework how socket readyness is detectedKim Alvefur2018-02-021-7/+17
|
* net.websocket.frames: Ignore Lua 5.3-only fields [luacheck]Kim Alvefur2017-12-021-2/+2
|
* Merge 0.10->trunkKim Alvefur2017-12-011-1/+1
|\
| * net.dns: Don't compress a single zero group in IPv6 addresses to match ↵Kim Alvefur2017-12-011-1/+1
| | | | | | | | behaviour of inet_ntop
* | net.dns: Use inet_ntop from util.net if availableKim Alvefur2017-11-291-0/+13
| |
* | net.server_event: Split long line [luacheck]Kim Alvefur2017-11-101-1/+2
| |
* | Merge 0.10->trunkKim Alvefur2017-10-291-3/+5
|\|
| * net.http.server: Include response object in most http-error eventsKim Alvefur2017-10-271-3/+5
| |
* | net.server_event: Add "libevent" to backend descriptionKim Alvefur2017-10-091-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2017-09-291-0/+1
|\|
| * net.adns: Import setmetatable into a local (fixes traceback on Lua 5.2)Kim Alvefur2017-09-271-0/+1
| |
* | net.server_epoll: Add interface:server() method to match server_event (fixes ↵Kim Alvefur2017-09-291-3/+7
| | | | | | | | c2s:show traceback in telnet console)
* | Merge 0.10->trunkMatthew Wild2017-09-262-34/+47
|\|
| * net.adns: Restructure to allow creating separate resolver objects, like net.dnsMatthew Wild2017-09-251-33/+46
| |
| * net.dns: Correctly apply lower bound of RTT (thanks Ge0rG)Kim Alvefur2017-09-241-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2017-08-282-4/+28
|\|
| * net.http: Add option for disabling TLS certifictate validationKim Alvefur2017-07-071-1/+2
| |
| * net.http: Validate HTTPS certificates (fixes #659)Kim Alvefur2017-07-071-0/+21
| |
| * net.http: Move default SSL/TLS settings into options, allowing them to be ↵Kim Alvefur2017-07-071-2/+4
| | | | | | | | overriden in new()
| * net.http: Expose defaultsKim Alvefur2017-07-071-0/+1
| |
| * net.http: Remove duplicate 'request' entryKim Alvefur2017-07-071-1/+0
| |
| * net.websocket: Remove stray module api reference, shouldn't be used in hereKim Alvefur2017-07-301-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2017-06-131-1/+1
|\|
| * Merge 0.9->0.10Kim Alvefur2017-06-131-1/+1
| |\
| | * net.dns: Prevent answers from immediately expiring even if TTL=0 (see #919)Kim Alvefur2017-06-131-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2017-05-271-8/+2
|\| |
| * | Merge 0.9->0.10Kim Alvefur2017-05-271-8/+2
| |\|
| | * net.dns: Simplify expiry calculation (fixes #919)Kim Alvefur2017-05-221-8/+2
| | |
* | | Merge 0.10->trunkKim Alvefur2017-04-241-4/+42
|\| |
| * | net.http: Add request.url, which is the original full URL as a stringMatthew Wild2017-04-211-0/+1
| | |
| * | net.http: Fire new events: pre-request, request-connection-error, request, ↵Matthew Wild2017-04-211-1/+19
| | | | | | | | | | | | response
| * | net.http: Allow creation of http client objects, with custom optionsMatthew Wild2017-04-211-3/+22
| | |
* | | net.server_epoll: Reset onwritable before calling onconnect (fixes traceback ↵Kim Alvefur2017-04-161-2/+2
| | | | | | | | | | | | if connection closed in onconnect)
* | | Merge 0.10->trunkKim Alvefur2017-04-022-4/+4
|\| |
| * | net.http: Pass error all the way to callbackKim Alvefur2017-04-022-4/+4
| | |
* | | net.server_epoll: Attempt to simplify state controlKim Alvefur2017-03-271-22/+12
| | |
* | | net.server_epoll: Check write buffer for remaining data to write when closingKim Alvefur2017-03-271-1/+1
| | |
* | | net.server_epoll: Log if there's a connection without listenersKim Alvefur2017-03-271-0/+4
| | |
* | | net.server_epoll: Add method for changing read patternKim Alvefur2017-02-251-0/+4
| | |
* | | net.server_epoll: Reuse interface metatable for event compat layerKim Alvefur2017-01-061-8/+8
| | |
* | | net.server_epoll: Fix traceback if wrapclient called without a pattern or ↵Kim Alvefur2017-01-051-1/+1
| | | | | | | | | | | | parent server
* | | Merge 0.10->trunkKim Alvefur2017-01-041-0/+1
|\| |
| * | net.server_event: Also replace 'ondrain' when setting new listeners (thanks ↵Kim Alvefur2017-01-041-0/+1
| | | | | | | | | | | | Ge0rG)
* | | server_epoll: Add some comments describing some functionsKim Alvefur2017-01-011-0/+3
| | |
* | | server_epoll: Ignore unused loop variable [luacheck]Kim Alvefur2017-01-011-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2017-01-011-4/+4
|\| |
| * | net.http: Strip trailing whitespaceKim Alvefur2016-12-301-1/+1
| | |
| * | net.http: Remove unused imports [luacheck]Kim Alvefur2016-12-301-3/+3
| | |
* | | server_epoll: Flush and close all connections before quitting mainloop so no ↵Kim Alvefur2017-01-011-1/+3
| | | | | | | | | | | | data is lost in buffers