Permalink
Browse files

Fix bad http_should_keep_alive() comment.

  • Loading branch information...
bnoordhuis committed Jul 26, 2012
1 parent ba5acd5 commit 2b7e87cc778f45a88fc49d92da13a658a9f1ad4b
Showing with 1 addition and 1 deletion.
  1. +1 −1 http_parser.h
View
@@ -289,7 +289,7 @@ size_t http_parser_execute(http_parser *parser,
/* If http_should_keep_alive() in the on_headers_complete or
- * on_message_complete callback returns true, then this should be
+ * on_message_complete callback returns 0, then this should be
* the last message on the connection.
* If you are the server, respond with the "Connection: close" header.
* If you are the client, close the connection.

0 comments on commit 2b7e87c

Please sign in to comment.