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

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