forked from boostorg/beast
permessage-deflate is a compile-time feature (API Change):
fix #849 This adds an additional `bool` template parameter to `websocket::stream`: * When deflateSupported is `true`, the stream will be capable of negotiating the permessage-deflate websocket extension per the configured run-time settings. * When deflateSupported is `false`, the stream will never negotiate the permessage-deflate websocket extension. Furthermore, all of the code necessary for implementing the permessage-deflate extension will be excluded from function instantiations. The resulting emitted object code should be smaller.
This commit is contained in:
1 parent
65d92f62fb
commit
841ab8474b
20 files changed
+1315
-721
No files matched your search
@@ -122,6 +122,8 @@ public:
|
||||
BOOST_STATIC_ASSERT(! std::is_move_assignable<
|
||||
stream<test::stream&>>::value);
|
||||
|
||||
log << "sizeof(websocket::stream_base<true>) == " <<
|
||||
sizeof(websocket::detail::stream_base<true>) << std::endl;
|
||||
log << "sizeof(websocket::stream) == " <<
|
||||
sizeof(websocket::stream<test::stream&>) << std::endl;
|
||||
|
||||
|
||||
Reference in new issue
Block a user