From 82efd6ef7359b281d0cb258ce039d21d8d1549b2 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 2 Oct 2023 12:56:07 +0200 Subject: reduce time spent holding http.sys transaction lock (#437) * changed where calls to IssueNewRequestMaybe are made to reduce per-transaction lock contention * minor: reduce stack frame for HttpSysTransaction::IoCompletionCallback --- src/zenhttp/httpsys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenhttp/httpsys.h') diff --git a/src/zenhttp/httpsys.h b/src/zenhttp/httpsys.h index d79206082..65239bae7 100644 --- a/src/zenhttp/httpsys.h +++ b/src/zenhttp/httpsys.h @@ -64,7 +64,7 @@ private: void Cleanup(); void StartServer(); - void OnHandlingRequest(); + void OnHandlingNewRequest(); void IssueNewRequestMaybe(); void RegisterService(const char* Endpoint, HttpService& Service); -- cgit v1.2.3