Mercurial > hg > orthanc
diff OrthancServer/main.cpp @ 1115:da56a7916e8a
Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Sep 2014 17:30:13 +0200 |
parents | bec1eccf976c |
children | 790ff7a5b3bf |
line wrap: on
line diff
--- a/OrthancServer/main.cpp Tue Sep 02 15:56:36 2014 +0200 +++ b/OrthancServer/main.cpp Tue Sep 02 17:30:13 2014 +0200 @@ -369,6 +369,7 @@ MongooseServer httpServer; httpServer.SetPortNumber(Configuration::GetGlobalIntegerParameter("HttpPort", 8042)); httpServer.SetRemoteAccessAllowed(Configuration::GetGlobalBoolParameter("RemoteAccessAllowed", false)); + httpServer.SetKeepAliveEnabled(Configuration::GetGlobalBoolParameter("KeepAlive", false)); httpServer.SetIncomingHttpRequestFilter(httpFilter); httpServer.SetAuthenticationEnabled(Configuration::GetGlobalBoolParameter("AuthenticationEnabled", false));