Mercurial > hg > orthanc
diff Resources/Configuration.json @ 3160:fc9a4a2dad63
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 24 Jan 2019 10:55:19 +0100 |
parents | 5a3b961e9524 |
children | 94a4f75cc746 |
line wrap: on
line diff
--- a/Resources/Configuration.json Thu Jan 24 10:54:47 2019 +0100 +++ b/Resources/Configuration.json Thu Jan 24 10:55:19 2019 +0100 @@ -346,9 +346,22 @@ // 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 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