changeset 3865:ff0718a4633a

fix missing DicomAssociationParameters::SetDefaultTimeout()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 27 Apr 2020 18:33:33 +0200
parents 9ccbbd55bc23
children e1c2bc9a5cc1 7a7d18875985 35065dd39cc8
files OrthancServer/main.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Fri Apr 24 17:30:41 2020 +0200
+++ b/OrthancServer/main.cpp	Mon Apr 27 18:33:33 2020 +0200
@@ -38,6 +38,7 @@
 
 #include "../Core/Compatibility.h"
 #include "../Core/DicomFormat/DicomArray.h"
+#include "../Core/DicomNetworking/DicomAssociationParameters.h"
 #include "../Core/DicomNetworking/DicomServer.h"
 #include "../Core/DicomParsing/FromDcmtkBridge.h"
 #include "../Core/HttpServer/EmbeddedResourceHttpHandler.h"
@@ -1289,6 +1290,7 @@
     HttpClient::SetDefaultProxy(lock.GetConfiguration().GetStringParameter("HttpProxy", ""));
     
     DicomUserConnection::SetDefaultTimeout(lock.GetConfiguration().GetUnsignedIntegerParameter("DicomScuTimeout", 10));
+    DicomAssociationParameters::SetDefaultTimeout(lock.GetConfiguration().GetUnsignedIntegerParameter("DicomScuTimeout", 10));
 
     maxCompletedJobs = lock.GetConfiguration().GetUnsignedIntegerParameter("JobsHistorySize", 10);