diff Resources/Configuration.json @ 3126:b1787ba94eef

fix issue #32 (HTTP keep-alive), make CivetWeb the default HTTP server
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Jan 2019 09:52:05 +0100
parents 095193bbd7b9
children 5a3b961e9524
line wrap: on
line diff
--- a/Resources/Configuration.json	Tue Jan 15 18:46:59 2019 +0100
+++ b/Resources/Configuration.json	Wed Jan 16 09:52:05 2019 +0100
@@ -346,9 +346,13 @@
   // default behavior since Orthanc 1.4.0).
   "LogExportedResources" : false,
 
-  // Enable or disable HTTP Keep-Alive (deprecated). Set this option
-  // to "true" only in the case of high HTTP loads.
-  "KeepAlive" : false,
+  // Enable or disable HTTP Keep-Alive (persistent HTTP
+  // connections). Setting this option to "true" prevents Orthanc
+  // issue #32 ("HttpServer does not support multiple HTTP requests in
+  // the same TCP stream"), but can slow down HTTP clients that do not
+  // support persistent connections. The default behavior used to be
+  // "false" in Orthanc <= 1.5.1.
+  "KeepAlive" : true,
 
   // If this option is set to "false", Orthanc will run in index-only
   // mode. The DICOM files will not be stored on the drive. Note that