summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-11-15 04:41:40 +1100
committer Vas Crabb <vas@vastheman.com>2021-11-15 04:41:40 +1100
commitf570febfa15b63933f14d2bc6605338bccd14974 (patch)
tree79dbfed52bceb657fc32664c9768e1946f752791 /src/emu
parent44ec6d2e0ee569202b75b73eea40972595866779 (diff)
Actually commit the source changes for ASIO 1.20.0 update.
Also changed the fix to ASIO itself to match the upstream change in commit cd68912b7eb07f24e501e8cbff832b61ec292eea.
Diffstat (limited to 'src/emu')
-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);