changeset 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 a84ce82fd55b
children 84cbc5abf3cc 4555a8ef2e88
files OrthancServer/main.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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);