|
Boost : |
Subject: Re: [boost] [beast] Chunking example
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2017-07-04 23:41:25
On Tue, Jul 4, 2017 at 4:31 PM, Gavin Lambert via Boost
<boost_at_[hidden]> wrote:
> The other common pattern (Comet style long poll) is to accept a request and
> parse the headers but then just keep the connection open indefinitely before
> finally sending a response.
That's a supported use case, call `write_header` or
`async_write_header` on the `serializer` and then at your leisure call
`write` or `async_write` on the `serializer` again to finish.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk