Permalink
Browse files

Initialize method member to avoid falsely upgrading connections. Fixe…

…d Issue #7
  • Loading branch information...
1 parent d6f34ae commit d0dfc987732a25ee1f2236526e2801f06678cda4 @jterrace jterrace committed with ry Jul 30, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 http_parser.c
View
@@ -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.