diff 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
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Tue Jan 15 21:11:44 2019 +0100
+++ b/OrthancServer/main.cpp	Wed Jan 16 09:53:45 2019 +0100
@@ -809,7 +809,7 @@
       //httpServer.SetThreadsCount(50);
       httpServer.SetPortNumber(lock.GetConfiguration().GetUnsignedIntegerParameter("HttpPort", 8042));
       httpServer.SetRemoteAccessAllowed(lock.GetConfiguration().GetBooleanParameter("RemoteAccessAllowed", false));
-      httpServer.SetKeepAliveEnabled(lock.GetConfiguration().GetBooleanParameter("KeepAlive", false));
+      httpServer.SetKeepAliveEnabled(lock.GetConfiguration().GetBooleanParameter("KeepAlive", true));
       httpServer.SetHttpCompressionEnabled(lock.GetConfiguration().GetBooleanParameter("HttpCompressionEnabled", true));
       httpServer.SetAuthenticationEnabled(lock.GetConfiguration().GetBooleanParameter("AuthenticationEnabled", false));