diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-04-19 10:47:55 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-04-19 11:47:39 -0400 |
commit | 7f144833527a457b92e6f3d118ad7906ee63d4b3 (patch) | |
tree | 0835573a62a0b78c8a796490f89a4f5a3d639457 /deps/http_parser/http_parser.c | |
parent | 57f05951770052de107c4771a47ebee6b6f1b6ef (diff) | |
download | node-new-7f144833527a457b92e6f3d118ad7906ee63d4b3.tar.gz |
deps: update to http-parser 2.7.0
Adds `2` as a return value of `on_headers_complete`, this mode will be
used to fix handling responses to `CONNECT` requests.
See: https://github.com/nodejs/node/pull/6198
PR-URL: https://github.com/nodejs/node/pull/6279
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/http_parser/http_parser.c')
-rw-r--r-- | deps/http_parser/http_parser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/http_parser/http_parser.c b/deps/http_parser/http_parser.c index d51a2e7bcd..719617549d 100644 --- a/deps/http_parser/http_parser.c +++ b/deps/http_parser/http_parser.c @@ -1812,6 +1812,9 @@ reexecute: case 0: break; + case 2: + parser->upgrade = 1; + case 1: parser->flags |= F_SKIPBODY; break; |