From 6929aad0f017ab5faf3d4c6c812d8881a741a28d Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 16 Mar 2026 11:59:25 +0100 Subject: 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. --- src/zenhttp/servers/httpsys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenhttp/servers/httpsys.cpp') 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 WsConn(new WsHttpSysConnection(RequestQueueHandle, RequestId, *WsHandler, - Transaction().Iocp(), + *Transaction().Server().m_IoThreadPool, &Transaction().Server())); Ref WsConnRef(WsConn.Get()); -- cgit v1.2.3