From 2b7e87cc778f45a88fc49d92da13a658a9f1ad4b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 27 Jul 2012 01:34:57 +0200 Subject: [PATCH] Fix bad http_should_keep_alive() comment. --- http_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_parser.h b/http_parser.h index 963df5b..887b47c 100644 --- a/http_parser.h +++ b/http_parser.h @@ -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.