diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-11 18:36:43 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-11 18:36:43 +0100 |
commit | deb28a9ce73ed7e38aaa53659027b61976fdca6b (patch) | |
tree | 7458809ca11ee8e59b32eb4aed4cd482894035dc /https.cpp | |
parent | 64493507905412e36848b9bd97c26f3d7a578ab5 (diff) |
Websocket for both http and https
Diffstat (limited to 'https.cpp')
-rw-r--r-- | https.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |