2 Jul
2017
2 Jul
'17
5:54 p.m.
On 07/02/2017 03:09 PM, Vinnie Falco via Boost wrote:
parser
p; read_header(stream, buffer, p, ec); if(ec) return; while(! p.is_done()) { char buf[512]; p.get().body.data = buf; p.get().body.size = sizeof(buf); read(stream, buffer, p, ec);
If the above is used to read a chunked transfer, what happens to chunk-ext fields? Are they inserted as header fields or are they lost? Given that this is an example of incremental reading, why does it use read() rather than read_some()?