summaryrefslogtreecommitdiffhomepage
path: root/https.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'https.cpp')
-rw-r--r--https.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/https.cpp b/https.cpp
index 5d19d5b..6b32195 100644
--- a/https.cpp
+++ b/https.cpp
@@ -79,7 +79,7 @@ class session : public std::enable_shared_from_this<session>
void handle_websocket()
{
beast::get_lowest_layer(stream_).expires_never();
- std::make_shared<websocket_session>(ioc_, std::move(stream_), response::get_websocket_address(req_, m_server))->do_accept_in(parser_->release());
+ make_websocket_session(ioc_, std::move(stream_), response::get_websocket_address(req_, m_server), parser_->release());
}
public: