redundant upgrade flag check

event_stream
Tim Becker 15 years ago committed by Ryan Dahl
parent 0264a0aefc
commit 8c3101cbe2

@ -1339,7 +1339,7 @@ size_t http_parser_execute (http_parser *parser,
} }
// Exit, the rest of the connect is in a different protocol. // Exit, the rest of the connect is in a different protocol.
if (parser->flags & F_UPGRADE || parser->method == HTTP_CONNECT) { if (parser->upgrade) {
CALLBACK2(message_complete); CALLBACK2(message_complete);
return (p - data); return (p - data);
} }

Loading…
Cancel
Save