AndreLouisCaron/httpxx — Issue #2: Allow parsing messages without buffering (parsing?) the body
Author: pezcode
Created: 2012-02-23 20:42:34+00:00
State: open

httpxx buffers the whole body of a message without the ability to erase it or keep it from doing that at all. Huge messages whose bodies are decoded by the parser may easily blow up the body string to several dozens of MB.

There should be a way to discard the buffer (creation), or refactor the classes to allow seperate parsing of header and body of a message, and possibly allow getting the body size via the received header (maybe set a flag for chunked/eof messages).