diff options
author | ipknHama <ipknhama@gmail.com> | 2014-07-29 20:20:50 +0900 |
---|---|---|
committer | ipknHama <ipknhama@gmail.com> | 2014-07-29 20:20:50 +0900 |
commit | b7781b20ff8675ca0c860b017f3c3e7817b6eb37 (patch) | |
tree | 34685a9625b07406260417c9aee34ed127e80ccb /parser.h | |
parent | 404b0b966ee85ffab87383610d48310e3ef6c537 (diff) | |
download | crow-b7781b20ff8675ca0c860b017f3c3e7817b6eb37.tar.gz crow-b7781b20ff8675ca0c860b017f3c3e7817b6eb37.zip |
Add HTTP/1.1 persistent connection timeout
manage Connection object life cycle using shared_ptr
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |