comparison OrthancServer/main.cpp @ 2635:33c0b4da8cb2 jobs

integration mainline->jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 May 2018 18:54:38 +0200
parents 1232922c8793 40c7926b75f8
children c691fcf66071
comparison
equal deleted inserted replaced
2632:2406ae891747 2635:33c0b4da8cb2
774 << httpServer.GetPortNumber() << " is below 1024), " 774 << httpServer.GetPortNumber() << " is below 1024), "
775 << "make sure you run Orthanc as root/administrator"; 775 << "make sure you run Orthanc as root/administrator";
776 } 776 }
777 777
778 httpServer.Start(); 778 httpServer.Start();
779 LOG(WARNING) << "HTTP server listening on port: " << httpServer.GetPortNumber()
780 << " (HTTPS encryption is "
781 << (httpServer.IsSslEnabled() ? "enabled" : "disabled") << ")";
782 779
783 bool restart = WaitForExit(context, restApi); 780 bool restart = WaitForExit(context, restApi);
784 781
785 httpServer.Stop(); 782 httpServer.Stop();
786 LOG(WARNING) << " HTTP server has stopped"; 783 LOG(WARNING) << " HTTP server has stopped";