diff options
Diffstat (limited to 'zenhttp/httpasio.cpp')
| -rw-r--r-- | zenhttp/httpasio.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zenhttp/httpasio.cpp b/zenhttp/httpasio.cpp index 45994bb67..81ceef888 100644 --- a/zenhttp/httpasio.cpp +++ b/zenhttp/httpasio.cpp @@ -1155,6 +1155,8 @@ HttpAsioServerImpl::Start(uint16_t Port, int ThreadCount) { ZEN_ASSERT(ThreadCount > 0); + ZEN_INFO("starting asio http with {} service threads", ThreadCount); + m_Acceptor.reset(new asio_http::HttpAcceptor(*this, m_IoService, Port)); m_Acceptor->Start(); @@ -1174,6 +1176,8 @@ HttpAsioServerImpl::Start(uint16_t Port, int ThreadCount) }); } + ZEN_INFO("asio http started (port {})", m_Acceptor->GetAcceptPort()); + return m_Acceptor->GetAcceptPort(); } |