comparison Resources/Configuration.json @ 3137:5a3b961e9524

New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Jan 2019 18:24:23 +0100
parents b1787ba94eef
children 94a4f75cc746
comparison
equal deleted inserted replaced
3136:f948deef53d9 3137:5a3b961e9524
347 "LogExportedResources" : false, 347 "LogExportedResources" : false,
348 348
349 // Enable or disable HTTP Keep-Alive (persistent HTTP 349 // Enable or disable HTTP Keep-Alive (persistent HTTP
350 // connections). Setting this option to "true" prevents Orthanc 350 // connections). Setting this option to "true" prevents Orthanc
351 // issue #32 ("HttpServer does not support multiple HTTP requests in 351 // issue #32 ("HttpServer does not support multiple HTTP requests in
352 // the same TCP stream"), but can slow down HTTP clients that do not 352 // the same TCP stream"), but can possibly slow down HTTP clients
353 // support persistent connections. The default behavior used to be 353 // that do not support persistent connections. The default behavior
354 // "false" in Orthanc <= 1.5.1. 354 // used to be "false" in Orthanc <= 1.5.1. Setting this option to
355 // "false" is also recommended if Orthanc is compiled against
356 // Mongoose.
355 "KeepAlive" : true, 357 "KeepAlive" : true,
358
359 // Enable or disable Nagle's algorithm. Only taken into
360 // consideration if Orthanc is compiled to use CivetWeb. Experiments
361 // show that best performance can be obtained by setting both
362 // "KeepAlive" and "TcpNoDelay" to "true". Beware however of
363 // caveats: https://eklitzke.org/the-caveats-of-tcp-nodelay
364 "TcpNoDelay" : true,
356 365
357 // If this option is set to "false", Orthanc will run in index-only 366 // If this option is set to "false", Orthanc will run in index-only
358 // mode. The DICOM files will not be stored on the drive. Note that 367 // mode. The DICOM files will not be stored on the drive. Note that
359 // this option might prevent the upgrade to newer versions of Orthanc. 368 // this option might prevent the upgrade to newer versions of Orthanc.
360 "StoreDicom" : true, 369 "StoreDicom" : true,