Permalink
Browse files

"status complete" callback added to support Simple-Response handling …

…in HTTP version <= 1.0
  • Loading branch information...
1 parent 594485c commit 1d9c1bf1c70d8e6b3cb098acc39799fe292d6f5c @tomika committed Mar 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 http_parser.c
View
@@ -868,6 +868,7 @@ size_t http_parser_execute (http_parser *parser,
case s_res_line_almost_done:
STRICT_CHECK(ch != LF);
parser->state = s_header_field_start;
+ CALLBACK_NOTIFY(status_complete);
break;
case s_start_req:

0 comments on commit 1d9c1bf

Please sign in to comment.