Fix http_server_stackless_ssl.cpp example

fix #1210

Write to self_.stream_ instead of the socket_ directly
This commit is contained in:
felixguendling
2018-07-28 07:00:51 -07:00
committed by Vinnie Falco
parent e23ecc8ac9
commit ba4bdfed71
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Version 180:
* Fix http_server_stackless_ssl.cpp example
--------------------------------------------------------------------------------
Version 179:
* Use the exchange() idiom in move constructors

View File

@ -72,6 +72,8 @@ in future versions.
* ([issue 1186]) Check error in example set_option
* ([issue 1210]) Fix http_server_stackless_ssl.cpp example
* Tidy up websocket stream javadocs
* Fix move-only arguments in [link beast.ref.boost__beast__bind_handler `bind_handler`]

View File

@ -249,7 +249,7 @@ class session
// Write the response
http::async_write(
self_.socket_,
self_.stream_,
*sp,
boost::asio::bind_executor(
self_.strand_,