Boost logo

Boost :

Subject: Re: [boost] [beast] Chunking example
From: Bjorn Reese (breese_at_[hidden])
Date: 2017-07-02 16:49:03

On 07/02/2017 06:19 PM, Vinnie Falco via Boost wrote:

> Actually Beast treats them very similarly. Its not generally possible

But their APIs are quite different.

> in Beast to see the WebSocket frame boundaries either (especially if
> you have compression on). It might look like you can see frame
> boundaries because of the function `websocket::stream::read_frame` but
> that function can cross boundaries or return less than a full frame.
> As per rfc6455 (WebSocket) interfaces presented to the application
> (`beast::websocket::stream` in this case) are free to reframe
> messages.

Does Beast re-packet WebSocket frames or HTTP chunks?

Boost list run by bdawes at, gregod at, cpdaniel at, john at