diff --git a/http_parser.c b/http_parser.c index 2c8416b..987addd 100644 --- a/http_parser.c +++ b/http_parser.c @@ -1316,7 +1316,9 @@ size_t http_parser_execute (http_parser *parser, 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 * different than other callbacks because if the user returns 1, we