comparison OrthancServer/main.cpp @ 3127:e678a2b1a25b db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Jan 2019 09:53:45 +0100
parents c3d2f24dda87 b1787ba94eef
children af4fab776ff2
comparison
equal deleted inserted replaced
3125:8296f0f75716 3127:e678a2b1a25b
807 807
808 // HTTP server 808 // HTTP server
809 //httpServer.SetThreadsCount(50); 809 //httpServer.SetThreadsCount(50);
810 httpServer.SetPortNumber(lock.GetConfiguration().GetUnsignedIntegerParameter("HttpPort", 8042)); 810 httpServer.SetPortNumber(lock.GetConfiguration().GetUnsignedIntegerParameter("HttpPort", 8042));
811 httpServer.SetRemoteAccessAllowed(lock.GetConfiguration().GetBooleanParameter("RemoteAccessAllowed", false)); 811 httpServer.SetRemoteAccessAllowed(lock.GetConfiguration().GetBooleanParameter("RemoteAccessAllowed", false));
812 httpServer.SetKeepAliveEnabled(lock.GetConfiguration().GetBooleanParameter("KeepAlive", false)); 812 httpServer.SetKeepAliveEnabled(lock.GetConfiguration().GetBooleanParameter("KeepAlive", true));
813 httpServer.SetHttpCompressionEnabled(lock.GetConfiguration().GetBooleanParameter("HttpCompressionEnabled", true)); 813 httpServer.SetHttpCompressionEnabled(lock.GetConfiguration().GetBooleanParameter("HttpCompressionEnabled", true));
814 httpServer.SetAuthenticationEnabled(lock.GetConfiguration().GetBooleanParameter("AuthenticationEnabled", false)); 814 httpServer.SetAuthenticationEnabled(lock.GetConfiguration().GetBooleanParameter("AuthenticationEnabled", false));
815 815
816 lock.GetConfiguration().SetupRegisteredUsers(httpServer); 816 lock.GetConfiguration().SetupRegisteredUsers(httpServer);
817 817