comparison 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
comparison
equal deleted inserted replaced
2571:a84ce82fd55b 2572:fcf447be9e97
791 << httpServer.GetPortNumber() << " is below 1024), " 791 << httpServer.GetPortNumber() << " is below 1024), "
792 << "make sure you run Orthanc as root/administrator"; 792 << "make sure you run Orthanc as root/administrator";
793 } 793 }
794 794
795 httpServer.Start(); 795 httpServer.Start();
796 LOG(WARNING) << "HTTP server listening on port: " << httpServer.GetPortNumber(); 796 LOG(WARNING) << "HTTP server listening on port: " << httpServer.GetPortNumber()
797 << " (HTTPS encryption is "
798 << (httpServer.IsSslEnabled() ? "enabled" : "disabled") << ")";
797 799
798 bool restart = WaitForExit(context, restApi); 800 bool restart = WaitForExit(context, restApi);
799 801
800 httpServer.Stop(); 802 httpServer.Stop();
801 LOG(WARNING) << " HTTP server has stopped"; 803 LOG(WARNING) << " HTTP server has stopped";