Fixed HTTP::Parser support for chunked transfer and HTTP/1.0 unknown body size

This commit is contained in:
Thulinma 2020-09-24 20:01:44 +02:00
parent f472da06f3
commit 3aeebd1a4a
2 changed files with 10 additions and 4 deletions

View file

@ -68,6 +68,7 @@ namespace HTTP{
bool seenHeaders;
bool seenReq;
bool getChunks;
bool possiblyComplete;
unsigned int doingChunk;
bool parse(std::string &HTTPbuffer, Util::DataCallback &cb = Util::defaultDataCallback);
std::string builder;