Initialize method member to avoid falsely upgrading connections. Fixed Issue #7

event_stream
Jeff Terrace 15 years ago committed by Ryan Dahl
parent d6f34ae992
commit d0dfc98773

@ -1548,4 +1548,5 @@ http_parser_init (http_parser *parser, enum http_parser_type t)
parser->nread = 0;
parser->upgrade = 0;
parser->flags = 0;
parser->method = 0;
}

Loading…
Cancel
Save