aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpsys.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-10-02 12:56:07 +0200
committerGitHub <[email protected]>2023-10-02 12:56:07 +0200
commit82efd6ef7359b281d0cb258ce039d21d8d1549b2 (patch)
tree7879183b6a78421376948640d04e01af83371639 /src/zenhttp/httpsys.h
parentHandle OOM and OOD more gracefully to not spam Sentry with error reports (#434) (diff)
downloadzen-82efd6ef7359b281d0cb258ce039d21d8d1549b2.tar.xz
zen-82efd6ef7359b281d0cb258ce039d21d8d1549b2.zip
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
Diffstat (limited to 'src/zenhttp/httpsys.h')
-rw-r--r--src/zenhttp/httpsys.h2
1 files changed, 1 insertions, 1 deletions
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);