Skip to content

Commit

Permalink
Initialize method member to avoid falsely upgrading connections. Fixe…
Browse files Browse the repository at this point in the history
…d Issue nodejs#7
  • Loading branch information
jterrace authored and ry committed Jul 30, 2010
1 parent d6f34ae commit d0dfc98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http_parser.c
Expand Up @@ -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;
}

0 comments on commit d0dfc98

Please sign in to comment.