summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/http.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/http.cpp')
-rw-r--r--src/emu/http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/http.cpp b/src/emu/http.cpp
index 42d8120d32e..f36244e31ac 100644
--- a/src/emu/http.cpp
+++ b/src/emu/http.cpp
@@ -331,7 +331,7 @@ http_manager::http_manager(bool active, short port, const char *root)
};
m_server->on_upgrade = [this](auto socket, auto request) {
- auto connection = std::make_shared<webpp::ws_server::Connection>(socket);
+ auto connection = std::make_shared<webpp::ws_server::Connection>(*m_io_context, socket);
connection->method = std::move(request->method);
connection->path = std::move(request->path);
connection->http_version = std::move(request->http_version);