diff Resources/Configuration.json @ 3139:af4fab776ff2 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Jan 2019 18:30:52 +0100
parents 5a3b961e9524
children 94a4f75cc746
line wrap: on
line diff
--- a/Resources/Configuration.json	Wed Jan 16 15:54:16 2019 +0100
+++ b/Resources/Configuration.json	Thu Jan 17 18:30:52 2019 +0100
@@ -349,11 +349,20 @@
   // 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.
+  // the same TCP stream"), but can possibly slow down HTTP clients
+  // that do not support persistent connections. The default behavior
+  // used to be "false" in Orthanc <= 1.5.1. Setting this option to
+  // "false" is also recommended if Orthanc is compiled against
+  // Mongoose.
   "KeepAlive" : true,
 
+  // Enable or disable Nagle's algorithm. Only taken into
+  // consideration if Orthanc is compiled to use CivetWeb. Experiments
+  // show that best performance can be obtained by setting both
+  // "KeepAlive" and "TcpNoDelay" to "true". Beware however of
+  // caveats: https://eklitzke.org/the-caveats-of-tcp-nodelay
+  "TcpNoDelay" : 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
   // this option might prevent the upgrade to newer versions of Orthanc.