changeset 3145:239331e4ee0b

log about what HTTP server is running
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Jan 2019 18:53:13 +0100
parents 977158ab0623
children d5d11e43d0fb
files Core/HttpServer/HttpServer.cpp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Core/HttpServer/HttpServer.cpp	Thu Jan 17 18:32:42 2019 +0100
+++ b/Core/HttpServer/HttpServer.cpp	Thu Jan 17 18:53:13 2019 +0100
@@ -936,6 +936,14 @@
     threadsCount_ = 50;  // Default value in mongoose
     tcpNoDelay_ = true;
 
+#if ORTHANC_ENABLE_MONGOOSE == 1
+    LOG(INFO) << "This Orthanc server uses Mongoose as its embedded HTTP server";
+#endif
+
+#if ORTHANC_ENABLE_CIVETWEB == 1
+    LOG(INFO) << "This Orthanc server uses CivetWeb as its embedded HTTP server";
+#endif
+
 #if ORTHANC_ENABLE_SSL == 1
     // Check for the Heartbleed exploit
     // https://en.wikipedia.org/wiki/OpenSSL#Heartbleed_bug