|
|
@ -1316,7 +1316,9 @@ size_t http_parser_execute (http_parser *parser,
|
|
|
|
|
|
|
|
|
|
|
|
nread = 0;
|
|
|
|
nread = 0;
|
|
|
|
|
|
|
|
|
|
|
|
if (parser->flags & F_UPGRADE || parser->method == HTTP_CONNECT) parser->upgrade = 1;
|
|
|
|
if (parser->flags & F_UPGRADE || parser->method == HTTP_CONNECT) {
|
|
|
|
|
|
|
|
parser->upgrade = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Here we call the headers_complete callback. This is somewhat
|
|
|
|
/* Here we call the headers_complete callback. This is somewhat
|
|
|
|
* different than other callbacks because if the user returns 1, we
|
|
|
|
* different than other callbacks because if the user returns 1, we
|
|
|
|