[beast] Chunking example

26 messages Options
[beast] Chunking example – How would an example of receiving a chunked transfer using the synchronous API look? In pseudo-code, I want to do as follows: establish con...
On Sun, Jul 2, 2017 at 5:41 AM, Bjorn Reese via Boost <boost@...> wrote: > How would an example of receiving a chunked transfer using t...
On 07/02/2017 03:09 PM, Vinnie Falco via Boost wrote: > Its possible that what you are really asking is how to read a message > payload ...
Vinnie Falco wrote: > Its possible that what you are really asking is how to read a message > payload incrementally? One of the examples ...
On Sun, Jul 2, 2017 at 6:33 AM, Bjorn Reese via Boost <boost@...> wrote: > I am trying to investigate how your message model handles tr...
On 07/02/2017 03:33 PM, Vinnie Falco via Boost wrote: > Trailers are simply inserted into the message fields when they are received. Can ...
On Sun, Jul 2, 2017 at 6:52 AM, Bjorn Reese via Boost <boost@...> wrote: > Can I differentiate between headers and trailers, or are the...
On 07/02/2017 03:09 PM, Vinnie Falco via Boost wrote: > to re-frame chunked message payloads. However, some applications may > wish to d...
On Sun, Jul 2, 2017 at 7:34 AM, Bjorn Reese via Boost <boost@...> wrote: > So chunk-ext fields are not passed to the user unless they w...
On 07/02/2017 04:44 PM, Vinnie Falco via Boost wrote: > If you want the chunk extensions you have to subclass basic_parser > (not the sa...
On Sun, Jul 2, 2017 at 9:18 AM, Bjorn Reese via Boost <boost@...> wrote: > On 07/02/2017 04:44 PM, Vinnie Falco via Boost wrote: > ...
On 07/02/2017 06:19 PM, Vinnie Falco via Boost wrote: > Actually Beast treats them very similarly. Its not generally possible But their A...
On Sun, Jul 2, 2017 at 9:49 AM, Bjorn Reese via Boost <boost@...> wrote: > But their APIs are quite different. I'm not sure I agree ...
On 07/02/2017 07:16 PM, Vinnie Falco via Boost wrote: > On Sun, Jul 2, 2017 at 9:49 AM, Bjorn Reese via Boost > <boost@...> wrote: ...
On 07/02/2017 03:09 PM, Vinnie Falco via Boost wrote: > parser<isRequest, buffer_body> p; > read_header(stream, ...
On Sun, Jul 2, 2017 at 10:51 AM, Bjorn Reese via Boost <boost@...> wrote: >>> Does Beast re-packet WebSocket frames... >> ...
On Sun, Jul 2, 2017 at 10:54 AM, Bjorn Reese via Boost <boost@...> wrote: > If the above is used to read a chunked transfer, what happe...
On 07/02/2017 08:11 PM, Vinnie Falco via Boost wrote: > To my understanding, chunk-extensions are a rare niche use-case with > meaning o...
On 07/02/2017 08:04 PM, Vinnie Falco via Boost wrote: > Perhaps I have overlooked something. What is the use-case for > application leve...
The chunk decorator uses boost::asio::null_buffers to overload the field trailer. Given your desire to adapt Beast to Networking TS, do notice...
On Tue, Jul 4, 2017 at 10:49 AM, Bjorn Reese via Boost <boost@...> wrote: > That was scary reading, because HTTPbis seemed to be unawar...
On 5/07/2017 06:18, Vinnie Falco wrote: > You're talking about a "perpetual message" of some kind, where the end > of the messag...
On Tue, Jul 4, 2017 at 4:31 PM, Gavin Lambert via Boost <boost@...> wrote: > The other common pattern (Comet style long poll) is to acc...
On 07/04/2017 08:18 PM, Vinnie Falco via Boost wrote: > With respect to detecting chunk boundaries on input, this is possible, > but... ...
On Thu, Jul 6, 2017 at 12:41 PM, Bjorn Reese via Boost <boost@...> wrote: > When the user passes a buffer to Beast in chunked-mode, the...
On Thu, Jul 6, 2017 at 12:41 PM, Bjorn Reese via Boost <boost@...> wrote: > ... I've thought about your feedback and I think this is...