diff OrthancServer/main.cpp @ 2572:fcf447be9e97

warning message about the use of HTTPS
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 May 2018 15:57:44 +0200
parents ad8f30fc28d1
children 8da2cffc2378 40c7926b75f8
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Tue May 08 20:48:49 2018 +0200
+++ b/OrthancServer/main.cpp	Wed May 09 15:57:44 2018 +0200
@@ -793,7 +793,9 @@
   }
 
   httpServer.Start();
-  LOG(WARNING) << "HTTP server listening on port: " << httpServer.GetPortNumber();
+  LOG(WARNING) << "HTTP server listening on port: " << httpServer.GetPortNumber()
+               << " (HTTPS encryption is "
+               << (httpServer.IsSslEnabled() ? "enabled" : "disabled") << ")";
   
   bool restart = WaitForExit(context, restApi);