From 0049b60faea2b14f77a263b326a415c94cf4bad3 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 11 May 2023 10:52:14 +0200 Subject: Close down http server gracefully when exiting even while requests are still being processed (#290) * Close down http server gracefully when exiting even while requests are still being processed --- src/zenhttp/httpsys.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/zenhttp/httpsys.h') diff --git a/src/zenhttp/httpsys.h b/src/zenhttp/httpsys.h index d6bd34890..cf16042d7 100644 --- a/src/zenhttp/httpsys.h +++ b/src/zenhttp/httpsys.h @@ -45,6 +45,7 @@ public: virtual void Run(bool TestMode) override; virtual void RequestExit() override; virtual void RegisterService(HttpService& Service) override; + virtual void Close() override; WorkerThreadPool& WorkPool() { return m_AsyncWorkPool; } -- cgit v1.2.3