mirror of
https://github.com/nodejs/http-parser.git
synced 2025-10-20 22:31:15 +08:00
Bug Fix: Connection:close with missing Content-Length.
The test and bug report are from tomika.
This commit is contained in:
@@ -96,7 +96,7 @@ struct http_parser {
|
||||
unsigned short method; /* requests only */
|
||||
short version;
|
||||
short keep_alive;
|
||||
size_t content_length;
|
||||
ssize_t content_length;
|
||||
|
||||
/** PUBLIC **/
|
||||
void *data; /* A pointer to get hook to the "connection" or "socket" object */
|
||||
|
Reference in New Issue
Block a user