aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpsys.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-16 11:59:25 +0100
committerStefan Boberg <[email protected]>2026-03-16 11:59:25 +0100
commit6929aad0f017ab5faf3d4c6c812d8881a741a28d (patch)
tree436753d3ad847641d79700286853fbd67c19be43 /src/zenhttp/servers/httpsys.cpp
parentMerge branch 'main' into sb/threadpool (diff)
downloadarchived-zen-6929aad0f017ab5faf3d4c6c812d8881a741a28d.tar.xz
archived-zen-6929aad0f017ab5faf3d4c6c812d8881a741a28d.zip
Fix WsHttpSysConnection to use WinIoThreadPool abstraction instead of raw PTP_IO
The WebSocket http.sys code from main used PTP_IO directly, which conflicts with the threadpool refactoring that abstracts I/O behind WinIoThreadPool.
Diffstat (limited to 'src/zenhttp/servers/httpsys.cpp')
-rw-r--r--src/zenhttp/servers/httpsys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/servers/httpsys.cpp b/src/zenhttp/servers/httpsys.cpp
index 2074fbd79..67a71c0cc 100644
--- a/src/zenhttp/servers/httpsys.cpp
+++ b/src/zenhttp/servers/httpsys.cpp
@@ -2588,7 +2588,7 @@ InitialRequestHandler::HandleCompletion(ULONG IoResult, ULONG_PTR NumberOfBytesT
Ref<WsHttpSysConnection> WsConn(new WsHttpSysConnection(RequestQueueHandle,
RequestId,
*WsHandler,
- Transaction().Iocp(),
+ *Transaction().Server().m_IoThreadPool,
&Transaction().Server()));
Ref<WebSocketConnection> WsConnRef(WsConn.Get());