aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpnull.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-05-11 10:52:14 +0200
committerGitHub <[email protected]>2023-05-11 10:52:14 +0200
commit0049b60faea2b14f77a263b326a415c94cf4bad3 (patch)
tree44c50579f116d53668123224bd26c218938fed83 /src/zenhttp/httpnull.h
parentZEN_LOG_SCOPE compile fix (diff)
downloadzen-0049b60faea2b14f77a263b326a415c94cf4bad3.tar.xz
zen-0049b60faea2b14f77a263b326a415c94cf4bad3.zip
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
Diffstat (limited to 'src/zenhttp/httpnull.h')
-rw-r--r--src/zenhttp/httpnull.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenhttp/httpnull.h b/src/zenhttp/httpnull.h
index 74f021f6b..965e729f7 100644
--- a/src/zenhttp/httpnull.h
+++ b/src/zenhttp/httpnull.h
@@ -21,6 +21,7 @@ public:
virtual int Initialize(int BasePort) override;
virtual void Run(bool IsInteractiveSession) override;
virtual void RequestExit() override;
+ virtual void Close() override;
private:
Event m_ShutdownEvent;