diff options
| author | Stefan Boberg <[email protected]> | 2023-12-05 08:51:53 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-05 08:51:53 +0100 |
| commit | 0b9d89f5beb889c1785a8f22b586c59bcca0b3ea (patch) | |
| tree | b0359fb51b002b28d9b480813d308cc93c1e220f /src/zenhttp/servers/httpasio.cpp | |
| parent | 0.2.36-pre3 (diff) | |
| download | zen-0b9d89f5beb889c1785a8f22b586c59bcca0b3ea.tar.xz zen-0b9d89f5beb889c1785a8f22b586c59bcca0b3ea.zip | |
HTTP plugin request debug logging (#587)
* added log level control/query to LoggerRef
* added debug logging to http plugin implementation
* added GetDebugName() to transport plugin interfaces
* added debug name to log output
Diffstat (limited to 'src/zenhttp/servers/httpasio.cpp')
| -rw-r--r-- | src/zenhttp/servers/httpasio.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zenhttp/servers/httpasio.cpp b/src/zenhttp/servers/httpasio.cpp index c62aca001..9fca314b3 100644 --- a/src/zenhttp/servers/httpasio.cpp +++ b/src/zenhttp/servers/httpasio.cpp @@ -941,7 +941,7 @@ public: ~HttpAsioServer(); virtual void RegisterService(HttpService& Service) override; - virtual int Initialize(int BasePort) override; + virtual int Initialize(int BasePort, std::filesystem::path DataDir) override; virtual void Run(bool IsInteractiveSession) override; virtual void RequestExit() override; virtual void Close() override; @@ -992,8 +992,9 @@ HttpAsioServer::RegisterService(HttpService& Service) } int -HttpAsioServer::Initialize(int BasePort) +HttpAsioServer::Initialize(int BasePort, std::filesystem::path DataDir) { + ZEN_UNUSED(DataDir); m_BasePort = m_Impl->Start(gsl::narrow<uint16_t>(BasePort), m_ForceLoopback, m_ThreadCount); return m_BasePort; } |