boostorg / beast

HTTP and WebSocket built on Boost.Asio in C++11
http://www.boost.org/libs/beast
Boost Software License 1.0
4.36k stars 634 forks source link

Check permessage-deflate offer when reading response #240

Open vinniefalco opened 7 years ago

vinniefalco commented 7 years ago

Websocket streams operating in client mode need to check the offer returned by the server to verify that it meets the criteria, otherwise the handshake function should return an error.

vinniefalco commented 6 years ago

See #264