changeset 37:5b49f5264aae

warning about deadlock with Orthanc 0.9.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 31 Jul 2015 09:57:48 +0200
parents 4f82bdd698d0
children 7471c6a414f1
files Plugin/Plugin.cpp
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/Plugin.cpp	Thu Jul 30 16:57:35 2015 +0200
+++ b/Plugin/Plugin.cpp	Fri Jul 31 09:57:48 2015 +0200
@@ -111,6 +111,15 @@
       return -1;
     }
 
+    {
+      std::string version(context_->orthancVersion);
+      if (version == "0.9.1")
+      {
+        OrthancPluginLogWarning(context_, "If using STOW-RS, the DICOMweb plugin can lead to "
+                                "deadlocks in Orthanc version 0.9.1. Please upgrade Orthanc!");
+      }
+    }
+
 
     dictionary_ = &gdcm::Global::GetInstance().GetDicts().GetPublicDict();