Mercurial > hg > orthanc
diff OrthancServer/QueryRetrieveHandler.h @ 2843:4ee3a759afea
Fix: Closing DICOM associations after running query/retrieve from REST API
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Sep 2018 13:22:57 +0200 |
parents | 5e2730c8e23c |
children | 251614c2edac |
line wrap: on
line diff
--- a/OrthancServer/QueryRetrieveHandler.h Wed Sep 26 15:55:42 2018 +0200 +++ b/OrthancServer/QueryRetrieveHandler.h Thu Sep 27 13:22:57 2018 +0200 @@ -49,11 +49,11 @@ DicomFindAnswers answers_; std::string modalityName_; - std::auto_ptr<DicomUserConnection> connection_; - void Invalidate(); - DicomUserConnection& GetConnection(); + void RetrieveInternal(DicomUserConnection& connection, + const std::string& target, + size_t i); public: QueryRetrieveHandler(ServerContext& context);