comparison Core/HttpServer/HttpServer.cpp @ 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 ab46e537f92e
children 6e8822be2f08
comparison
equal deleted inserted replaced
3140:977158ab0623 3145:239331e4ee0b
934 exceptionFormatter_ = NULL; 934 exceptionFormatter_ = NULL;
935 realm_ = ORTHANC_REALM; 935 realm_ = ORTHANC_REALM;
936 threadsCount_ = 50; // Default value in mongoose 936 threadsCount_ = 50; // Default value in mongoose
937 tcpNoDelay_ = true; 937 tcpNoDelay_ = true;
938 938
939 #if ORTHANC_ENABLE_MONGOOSE == 1
940 LOG(INFO) << "This Orthanc server uses Mongoose as its embedded HTTP server";
941 #endif
942
943 #if ORTHANC_ENABLE_CIVETWEB == 1
944 LOG(INFO) << "This Orthanc server uses CivetWeb as its embedded HTTP server";
945 #endif
946
939 #if ORTHANC_ENABLE_SSL == 1 947 #if ORTHANC_ENABLE_SSL == 1
940 // Check for the Heartbleed exploit 948 // Check for the Heartbleed exploit
941 // https://en.wikipedia.org/wiki/OpenSSL#Heartbleed_bug 949 // https://en.wikipedia.org/wiki/OpenSSL#Heartbleed_bug
942 if (OPENSSL_VERSION_NUMBER < 0x1000107fL /* openssl-1.0.1g */ && 950 if (OPENSSL_VERSION_NUMBER < 0x1000107fL /* openssl-1.0.1g */ &&
943 OPENSSL_VERSION_NUMBER >= 0x1000100fL /* openssl-1.0.1 */) 951 OPENSSL_VERSION_NUMBER >= 0x1000100fL /* openssl-1.0.1 */)