Boost logo

Boost :

Subject: Re: [boost] [ann] Urdl - a library for downloading web content
From: Jose (jmalv04_at_[hidden])
Date: 2009-06-18 08:37:37


> I'm still not 100% sure which bit you're referring to, but if you mean the
> asio::streambuf usage in http_read_stream, that's just to keep the
> implementation simple. Any overhead there only applies to receiving the
> headers, and isn't incurred once you start downloading the content.

In this design you use a buffered stream so you can check for the
status line, headers and body using read_until. A different approach,
which I have used in to try to decode the data as it arrives (without
a buffered stream).


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk