From: Dean M. B. <mik...@gm...> - 2010-11-18 04:17:17
|
On Wed, Nov 17, 2010 at 11:23 PM, Nelson, Erik - 2 <eri...@ba...> wrote: > Dean Michael wrote: >> I've just pushed to master a new example that highlights the >> asynchronous server template in 0.8. The example can be found here: > > Great news! > :-) >> >> The example only works on Linux/UNIX where mmap is available, maybe >> someone can help make this work on Windows too? :) >> > Boost iostreams offers platform-independent memory mapping... I've used > it for an http client sending large files without reading the whole file > into memory. > Interesting. Thanks for the pointer on Boost.Iostreams. Let me see if I can use Boost.Iostreams for that purpose on this example, and maybe as the body of request/response objects. Will try to play around with Boost.Iostreams but it would most probably be slated for 0.9 if ever I get to supporting it. -- Dean Michael Berris deanberris.com |