comparison OrthancServer/Resources/Configuration.json @ 4522:017ab543e6ef

added field "Timeout" in "OrthancPeers" configuration option
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 23 Feb 2021 11:28:28 +0100
parents cb8fcecf1b02
children 2c702cfae274
comparison
equal deleted inserted replaced
4521:60e4f94ec30f 4522:017ab543e6ef
421 /** 421 /**
422 * This is another, more advanced format to define Orthanc 422 * This is another, more advanced format to define Orthanc
423 * peers. It notably allows one to specify HTTP headers, a HTTPS 423 * peers. It notably allows one to specify HTTP headers, a HTTPS
424 * client certificate in the PEM format (as in the "--cert" option 424 * client certificate in the PEM format (as in the "--cert" option
425 * of curl), or to enable PKCS#11 authentication for smart cards. 425 * of curl), or to enable PKCS#11 authentication for smart cards.
426 *
427 * The "Timeout" option allows one to overwrite the global value
428 * "HttpTimeout" on a per-peer basis.
426 **/ 429 **/
427 // "peer" : { 430 // "peer" : {
428 // "Url" : "http://127.0.0.1:8043/", 431 // "Url" : "http://127.0.0.1:8043/",
429 // "Username" : "alice", 432 // "Username" : "alice",
430 // "Password" : "alicePassword", 433 // "Password" : "alicePassword",
431 // "HttpHeaders" : { "Token" : "Hello world" }, 434 // "HttpHeaders" : { "Token" : "Hello world" },
432 // "CertificateFile" : "client.crt", 435 // "CertificateFile" : "client.crt",
433 // "CertificateKeyFile" : "client.key", 436 // "CertificateKeyFile" : "client.key",
434 // "CertificateKeyPassword" : "certpass", 437 // "CertificateKeyPassword" : "certpass",
435 // "Pkcs11" : false 438 // "Pkcs11" : false,
439 // "Timeout" : 42 // New in Orthanc 1.9.1
436 // } 440 // }
437 }, 441 },
438 442
439 // Whether to store the Orthanc peers in the Orthanc database 443 // Whether to store the Orthanc peers in the Orthanc database
440 // instead of in this configuration file (new in Orthanc 1.5.0) 444 // instead of in this configuration file (new in Orthanc 1.5.0)
673 677
674 // Whether calls to URI "/tools/execute-script" is enabled. Starting 678 // Whether calls to URI "/tools/execute-script" is enabled. Starting
675 // with Orthanc 1.5.8, this URI is disabled by default for security. 679 // with Orthanc 1.5.8, this URI is disabled by default for security.
676 "ExecuteLuaEnabled" : false, 680 "ExecuteLuaEnabled" : false,
677 681
678 // Set the timeout for HTTP requests, in seconds. This corresponds 682 // Set the timeout while serving HTTP requests by the embedded Web
679 // to option "request_timeout_ms" of Mongoose/Civetweb. It will set 683 // server, in seconds. This corresponds to option
680 // the socket options "SO_RCVTIMEO" and "SO_SNDTIMEO" to the 684 // "request_timeout_ms" of Mongoose/Civetweb. It will set the socket
681 // specified value. 685 // options "SO_RCVTIMEO" and "SO_SNDTIMEO" to the specified value.
682 "HttpRequestTimeout" : 30, 686 "HttpRequestTimeout" : 30,
683 687
684 // Set the default private creator that is used by Orthanc when it 688 // Set the default private creator that is used by Orthanc when it
685 // looks for a private tag in its dictionary (cf. "Dictionary" 689 // looks for a private tag in its dictionary (cf. "Dictionary"
686 // option), or when it creates/modifies a DICOM file (new in Orthanc 1.6.0). 690 // option), or when it creates/modifies a DICOM file (new in Orthanc 1.6.0).