diff Resources/Configuration.json @ 3537:9cc09f4c0fa9

New configuration option: "HttpRequestTimeout"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 10 Oct 2019 13:16:15 +0200
parents f07352e0375c
children bdafff1ce443
line wrap: on
line diff
--- a/Resources/Configuration.json	Sun Oct 06 09:54:30 2019 +0200
+++ b/Resources/Configuration.json	Thu Oct 10 13:16:15 2019 +0200
@@ -511,5 +511,11 @@
 
   // Whether calls to URI "/tools/execute-script" is enabled. Starting
   // with Orthanc 1.5.8, this URI is disabled by default for security.
-  "ExecuteLuaEnabled" : false
+  "ExecuteLuaEnabled" : false,
+
+  // Set the timeout for HTTP requests, in seconds. This corresponds
+  // to option "request_timeout_ms" of Mongoose/Civetweb. It will set
+  // the socket options "SO_RCVTIMEO" and "SO_SNDTIMEO" to the
+  // specified value.
+  "HttpRequestTimeout" : 30
 }