aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
Commit message (Collapse)AuthorAgeFilesLines
* 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.server: Log event name when firing a request eventMatthew Wild2015-03-141-1/+1
|
* 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
|
* net.http.parser: Support status code 101 and allow handling of the received ↵Matthew Wild2014-09-031-1/+5
| | | | data by someone else
* 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)
* net.http.server: Comment out a log messageKim Alvefur2014-08-271-1/+1
|
* 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.
* net.http.parser: Ensure full URL in status line contains a path.Waqas Hussain2013-02-081-1/+1
|
* net.http.parser: Fix traceback on invalid URL in status line.Waqas Hussain2013-02-081-0/+1
|
* net.http.server: Properly handle persistent connectionsFlorian Zeitz2013-01-121-3/+14
|
* net.http.parser: Abort if no status line is received.Kim Alvefur2013-01-081-0/+1
|
* net.http.parser: Skip url.parse when we don't have a full URL (also fixes ↵Waqas Hussain2012-12-211-1/+8
| | | | traceback on paths starting with '//').
* net.http.parser: Fix syntax error introduced in c5edb08fc7cb.Waqas Hussain2012-12-031-1/+1
|
* net.http.parser: Collapse multiple consecutive slashes in a path to a single ↵Matthew Wild2012-11-291-1/+1
| | | | slash
* net.http.parser: Break loop when no more usable data in bufferMatthew Wild2012-05-251-0/+2
|
* net.http.parser: Keep the Host header no host is present in the URIKim Alvefur2012-05-151-1/+1
|
* net.http.parser: Do full URL decoding and parsing (e.g. adds ↵Matthew Wild2012-05-121-5/+7
| | | | request.url.query when present)
* net.http.server: Code cleanup/adjustment now that send_response() accepts ↵Matthew Wild2012-04-281-3/+1
| | | | response.body
* net.http.server: Use response.body if it exists and body is not specified to ↵Matthew Wild2012-04-281-1/+1
| | | | send_response
* net.http.server: Remove unused imports and variables (fixes traceback due to ↵Matthew Wild2012-04-281-4/+2
| | | | removed net.httpserver)
* net.http.server: Try default_host if client sent no host anywhere, ↵Matthew Wild2012-04-281-4/+4
| | | | otherwise... fail. It's 2012.
* net.http.server: Fix traceback on missing host header (thanks darkrain)Matthew Wild2012-04-281-2/+1
|
* net.http.server, mod_http: Support http_default_host config option to ↵Matthew Wild2012-04-271-41/+56
| | | | specify where to direct requests for unknown HTTP vhosts
* net.http.server: Improve commentMatthew Wild2012-04-271-1/+1
|
* net.http.server: Remove unused variableMatthew Wild2012-04-271-1/+0
|
* net.http.server: Correctly cache results of handler indexing, and also cache ↵Matthew Wild2012-04-271-10/+14
| | | | failures
* net.http.codes: Add missing 418 status codeMatthew Wild2012-04-271-0/+1
|
* mod_http_files, net.http.parser: Move path normalization to net.http.parser ↵Matthew Wild2012-04-261-1/+19
| | | | so that all modules can benefit
* Merge with backoutMatthew Wild2012-04-261-4/+0
|\
| * Revert 98bfebb38705, moved to net.http.parser in 4fc99f1b7570Matthew Wild2012-04-261-4/+0
| |
* | net.http.server: Fire http-error 400 if request fails sanity checksMatthew Wild2012-04-261-1/+8
| |
* | net.http.parser: Handle full URLs in status line.Waqas Hussain2012-04-261-1/+6
| |