Remove extraneous strand from example

fix #1288
This commit is contained in:
Vinnie Falco
2018-11-03 18:54:33 -07:00
parent 1cdc1e3181
commit 04bac8dce9
3 changed files with 3 additions and 3 deletions

View File

@ -7,6 +7,7 @@ Version 187:
* Fix a spurious gcc warning
* Test for gcc warning bug
* Add missing include
* Remove extraneous strand from example
--------------------------------------------------------------------------------

View File

@ -33,6 +33,8 @@
* ([issue 1263]) Fix uninitialized comparison in buffers iterator
* ([issue 1288]) Remove extraneous strand from example
* Workaround for http-server-fast and libstdc++
* Partial support for `BOOST_NO_EXCEPTIONS`

View File

@ -546,8 +546,6 @@ class ssl_websocket_session
, public std::enable_shared_from_this<ssl_websocket_session>
{
websocket::stream<boost::beast::ssl_stream<tcp::socket>> ws_;
boost::asio::strand<
boost::asio::io_context::executor_type> strand_;
bool eof_ = false;
public:
@ -557,7 +555,6 @@ public:
: websocket_session<ssl_websocket_session>(
stream.get_executor().context())
, ws_(std::move(stream))
, strand_(ws_.get_executor())
{
}