aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
Commit message (Collapse)AuthorAgeFilesLines
...
* net.http.codes: Regenerate from IANA registry with toolKim Alvefur2018-08-111-47/+59
|
* net.http.server: Include response object in most http-error eventsKim Alvefur2017-10-271-3/+5
|
* net.http: Pass error all the way to callbackKim Alvefur2017-04-021-1/+1
|
* net.http.parser: Don't collapse buffer when expecting a chunk and not enough ↵Kim Alvefur2016-08-261-0/+3
| | | | data has been received
* net.http.parser: Fix missing buffer length adjustment when parsing chunked ↵Kim Alvefur2016-08-261-0/+1
| | | | streams
* net.http.server: Add luacheck annotationsKim Alvefur2016-08-181-2/+2
|
* Merge 0.9->0.10Kim Alvefur2016-08-182-8/+34
|\
| * 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.http.codes: Add HTTP status code 451 Unavailable For Legal Reasons from ↵Kim Alvefur2016-08-131-0/+1
| | | | | | | | RFC 7725
* | net.http.codes: Remove used argumentKim Alvefur2016-08-131-1/+1
| |
* | net.http.parser: Remove unused argument [luacheck]Kim Alvefur2016-08-131-1/+1
| |
* | net.http.server: Set blocksize for serving data from FDs to 64k (sweet spot ↵Kim Alvefur2016-08-081-1/+1
| | | | | | | | of efficiency according to a recent study)
* | net.http.server: Add response method for reading response body from a file ↵Kim Alvefur2016-07-111-0/+42
| | | | | | | | handle
* | net.http.server: Return from listen_on() whatever net.server.addserver() returnsKim Alvefur2016-01-161-1/+1
| |
* | 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.http.codes: Update from registryKim Alvefur2015-05-141-3/+9
| |
* | 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.10Matthew Wild2014-09-031-1/+5
|\|
| * net.http.parser: Support status code 101 and allow handling of the received ↵Matthew Wild2014-09-031-1/+5
| | | | | | | | data by someone else
* | Merge 0.9->0.10Kim Alvefur2014-09-021-0/+4
|\|
| * net.http, net.http.server, mod_c2s, mod_s2s, mod_component, ↵Matthew Wild2014-08-291-0/+4
| | | | | | | | mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
* | Merge 0.9->0.10Matthew Wild2014-08-281-1/+1
|\|
| * net.http.server: Comment out a log messageKim Alvefur2014-08-271-1/+1
| |
* | net.http.server: Fix some typos introduced in 420c0d3b8583.Daurnimator2014-04-151-4/+3
| |
* | net.http.server: Add prepare_header() and finish_response() to allow sending ↵Daurnimator2014-04-151-9/+17
| | | | | | | | chunked responses via the API
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-2/+2
|/
* net.http.server: Fix Keep-Alive requests with HTTP 1.0Kim Alvefur2013-07-221-1/+1
|
* mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit ↵Matthew Wild2013-04-221-2/+2
| | | | traceback function), to make it clearer where an error occured
* net.server.http: Add a commentMatthew Wild2013-04-221-0/+1
|
* net.server.http: Ensure that event map cannot grow forever (limit to 10K ↵Matthew Wild2013-04-221-0/+8
| | | | wildcard-only entries)
* net.http.server: The correct Connection header value to look for is ↵Waqas Hussain2013-04-171-1/+1
| | | | Keep-Alive, not keep-alive.
* net.http.parser: Remove accidentally-committed debuggingMatthew Wild2013-04-151-1/+0
|
* net.http.parser: Fix off-by-one error in chunked encoding parserMatthew Wild2013-04-151-1/+2
|
* net.http.parser: Fix chunked encoding response parsing, and make it more robustMatthew Wild2013-04-111-15/+20
|
* net.http.parser: Convert status_code to a number before trying to compare it ↵Matthew Wild2013-04-111-0/+1
| | | | to numbers
* net.http.parser: Break when no more usable data in buffer (client part of ↵Matthew Wild2013-04-111-0/+2
| | | | e5ec60dfb202)
* net.http.parser: Depend on util.http instead of net.http for urlencodeMatthew Wild2013-04-111-1/+1
|
* net.http.server: add API to allow firing events directly on the server.Marco Cirillo2013-04-071-0/+3
|
* net.http.server: Don't overwrite existing response.headers when returning a ↵Matthew Wild2013-03-311-1/+7
| | | | response object from a HTTP handler (waqas says it's wrong)
* net.http.server: Ensure HTTP callbacks are never called recursively for ↵Waqas Hussain2013-02-261-9/+10
| | | | pipelined requests.