Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Backed out changeset eae606b9266c: Used a lot of memory | Kim Alvefur | 2018-06-10 | 1 | -5/+4 |
| | |||||
* | net.dns: Syntesize type names for the full range | Kim Alvefur | 2018-06-09 | 1 | -4/+5 |
| | | | | | | | | Otherwise unknown records are identified as A records. This also fixes various tracebacks unearthed by previous commits and mis-identified records. Related to #1056 #976 #819 | ||||
* | net.dns: Don't attempt to cache unparsed data (fixes #1056) | Kim Alvefur | 2018-06-09 | 1 | -1/+1 |
| | | | | | | | rr[qtype:lower()] can be nil. I think this happens if the type does not have a parser. Also see #819 #976 | ||||
* | net.dns: Also cache records from the 'additional' section | Kim Alvefur | 2018-06-03 | 1 | -0/+4 |
| | | | | Could be getting A/AAAA records here when asking for SRV | ||||
* | net.dns: Cache all records from the 'answer' section (fixes #487) | Kim Alvefur | 2018-06-09 | 1 | -1/+1 |
| | | | | This should preserve CNAME records included here | ||||
* | net.http: Import setmetatable into local scope (fixes #1125) | Kim Alvefur | 2018-04-06 | 1 | -0/+1 |
| | |||||
* | net.http: Fix parameter order to http request callbacks | Matthew Wild | 2018-04-04 | 1 | -1/+1 |
| | | | | | | Commit e3b9dc9dd940 changed the parameter order in 2013, but did not update the names of the parameters in the callback function. Due to this inconsistency, 12df41a5a4b1 accidentally reversed the order when fixing the variable names without fixing where they are used. Additionally the documentation was incorrect (since 2013), and this has also now been fixed. | ||||
* | net.dns: Don't compress a single zero group in IPv6 addresses to match ↵ | Kim Alvefur | 2017-12-01 | 1 | -1/+1 |
| | | | | behaviour of inet_ntop | ||||
* | net.http.server: Include response object in most http-error events | Kim Alvefur | 2017-10-27 | 1 | -3/+5 |
| | |||||
* | net.adns: Import setmetatable into a local (fixes traceback on Lua 5.2) | Kim Alvefur | 2017-09-27 | 1 | -0/+1 |
| | |||||
* | net.adns: Restructure to allow creating separate resolver objects, like net.dns | Matthew Wild | 2017-09-25 | 1 | -33/+46 |
| | |||||
* | net.dns: Correctly apply lower bound of RTT (thanks Ge0rG) | Kim Alvefur | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | net.http: Add option for disabling TLS certifictate validation | Kim Alvefur | 2017-07-07 | 1 | -1/+2 |
| | |||||
* | net.http: Validate HTTPS certificates (fixes #659) | Kim Alvefur | 2017-07-07 | 1 | -0/+21 |
| | |||||
* | net.http: Move default SSL/TLS settings into options, allowing them to be ↵ | Kim Alvefur | 2017-07-07 | 1 | -2/+4 |
| | | | | overriden in new() | ||||
* | net.http: Expose defaults | Kim Alvefur | 2017-07-07 | 1 | -0/+1 |
| | |||||
* | net.http: Remove duplicate 'request' entry | Kim Alvefur | 2017-07-07 | 1 | -1/+0 |
| | |||||
* | net.websocket: Remove stray module api reference, shouldn't be used in here | Kim Alvefur | 2017-07-30 | 1 | -1/+1 |
| | |||||
* | Merge 0.9->0.10 | Kim Alvefur | 2017-06-13 | 1 | -1/+1 |
|\ | |||||
| * | net.dns: Prevent answers from immediately expiring even if TTL=0 (see #919) | Kim Alvefur | 2017-06-13 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2017-05-27 | 1 | -8/+2 |
|\| | |||||
| * | net.dns: Simplify expiry calculation (fixes #919) | Kim Alvefur | 2017-05-22 | 1 | -8/+2 |
| | | |||||
* | | net.http: Add request.url, which is the original full URL as a string | Matthew Wild | 2017-04-21 | 1 | -0/+1 |
| | | |||||
* | | net.http: Fire new events: pre-request, request-connection-error, request, ↵ | Matthew Wild | 2017-04-21 | 1 | -1/+19 |
| | | | | | | | | response | ||||
* | | net.http: Allow creation of http client objects, with custom options | Matthew Wild | 2017-04-21 | 1 | -3/+22 |
| | | |||||
* | | net.http: Pass error all the way to callback | Kim Alvefur | 2017-04-02 | 2 | -4/+4 |
| | | |||||
* | | net.server_event: Also replace 'ondrain' when setting new listeners (thanks ↵ | Kim Alvefur | 2017-01-04 | 1 | -0/+1 |
| | | | | | | | | Ge0rG) | ||||
* | | net.http: Strip trailing whitespace | Kim Alvefur | 2016-12-30 | 1 | -1/+1 |
| | | |||||
* | | net.http: Remove unused imports [luacheck] | Kim Alvefur | 2016-12-30 | 1 | -3/+3 |
| | | |||||
* | | net.websocket: Ignore unused argument warnings [luacheck] | Kim Alvefur | 2016-12-04 | 1 | -3/+3 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2016-11-24 | 1 | -0/+1 |
|\| | |||||
| * | net.server_select: Prevent writes after a handler is closed (fixes #783 I hope) | Kim Alvefur | 2016-11-22 | 1 | -0/+1 |
| | | |||||
* | | net.server_event: Restore destruction of socket on read timeout (lost since ↵ | Kim Alvefur | 2016-10-08 | 1 | -0/+4 |
| | | | | | | | | e67891ad18d6) (thanks Ge0rG) | ||||
* | | net.http.parser: Don't collapse buffer when expecting a chunk and not enough ↵ | Kim Alvefur | 2016-08-26 | 1 | -0/+3 |
| | | | | | | | | data has been received | ||||
* | | net.http.parser: Fix missing buffer length adjustment when parsing chunked ↵ | Kim Alvefur | 2016-08-26 | 1 | -0/+1 |
| | | | | | | | | streams | ||||
* | | net.http.server: Add luacheck annotations | Kim Alvefur | 2016-08-18 | 1 | -2/+2 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2016-08-18 | 2 | -8/+34 |
|\| | |||||
| * | net.http.server: Expose way to set http server options | Kim Alvefur | 2016-08-18 | 1 | -1/+8 |
| | | |||||
| * | net.http.parser: Allow limits to be configurable via options callback | Kim Alvefur | 2016-08-18 | 1 | -2/+2 |
| | | |||||
| * | net.http.parser: Add a limit on maximum buffer size, default to 20M | Kim Alvefur | 2016-08-18 | 1 | -0/+2 |
| | | |||||
| * | net.http.parser: Add a limit on content length, default to 10M | Kim Alvefur | 2016-08-18 | 1 | -0/+2 |
| | | |||||
| * | net.http.parser: Buffer into a table to reduce GC pressure, collapse to ↵ | Kim Alvefur | 2016-08-13 | 1 | -7/+22 |
| | | | | | | | | string when needed (fixes #603) | ||||
* | | net.http.codes: Add HTTP status code 451 Unavailable For Legal Reasons from ↵ | Kim Alvefur | 2016-08-13 | 1 | -0/+1 |
| | | | | | | | | RFC 7725 | ||||
* | | net.http.codes: Remove used argument | Kim Alvefur | 2016-08-13 | 1 | -1/+1 |
| | | |||||
* | | net.http.parser: Remove unused argument [luacheck] | Kim Alvefur | 2016-08-13 | 1 | -1/+1 |
| | | |||||
* | | net.http.server: Set blocksize for serving data from FDs to 64k (sweet spot ↵ | Kim Alvefur | 2016-08-08 | 1 | -1/+1 |
| | | | | | | | | of efficiency according to a recent study) | ||||
* | | net.dns: remove unused variable unpack [luacheck] | Anton Shestakov | 2016-07-28 | 1 | -2/+2 |
| | | |||||
* | | net.server_select: remove unused import [luacheck] | Anton Shestakov | 2016-07-28 | 1 | -1/+0 |
| | | |||||
* | | net.http: Add quotes around ids in log messages | Matthew Wild | 2016-07-27 | 1 | -3/+3 |
| | | |||||
* | | net.server_select: remove unused one-letter loop variable [luacheck] | Anton Shestakov | 2016-07-14 | 1 | -1/+1 |
| | |