From b7781b20ff8675ca0c860b017f3c3e7817b6eb37 Mon Sep 17 00:00:00 2001 From: ipknHama Date: Tue, 29 Jul 2014 20:20:50 +0900 Subject: Add HTTP/1.1 persistent connection timeout manage Connection object life cycle using shared_ptr --- parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'parser.h') diff --git a/parser.h b/parser.h index 87d9562..f504248 100644 --- a/parser.h +++ b/parser.h @@ -97,6 +97,7 @@ namespace crow http_parser_init(this, HTTP_REQUEST); } + // return false on error bool feed(const char* buffer, int length) { int nparsed = http_parser_execute(this, &settings_, buffer, length); -- cgit v1.2.3-54-g00ecf