diff options
| author | Stefan Boberg <[email protected]> | 2026-03-16 11:59:25 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-03-16 11:59:25 +0100 |
| commit | 6929aad0f017ab5faf3d4c6c812d8881a741a28d (patch) | |
| tree | 436753d3ad847641d79700286853fbd67c19be43 /src/zenhttp/servers/httpsys.cpp | |
| parent | Merge branch 'main' into sb/threadpool (diff) | |
| download | archived-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.cpp | 2 |
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()); |