aboutsummaryrefslogtreecommitdiffstats
path: root/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h1
1 files changed, 1 insertions, 0 deletions
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);