diff options
Diffstat (limited to 'doc/examples/asio_tls_server.cpp')
-rw-r--r-- | doc/examples/asio_tls_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/asio_tls_server.cpp b/doc/examples/asio_tls_server.cpp index ad8c75036..2ff640983 100644 --- a/doc/examples/asio_tls_server.cpp +++ b/doc/examples/asio_tls_server.cpp @@ -158,8 +158,8 @@ class tls_server_session : public boost::enable_shared_from_this<tls_server_sess out += std::string((const char*)buf, buf_len); out += "</body></html>\r\n\r\n"; - m_tls.queue_for_sending(reinterpret_cast<const byte*>(&out[0]), - out.size()); + m_tls.send(reinterpret_cast<const byte*>(&out[0]), + out.size()); m_tls.close(); } } |