Mercurial > hg > orthanc-stone
diff Platforms/Generic/WebServicePostCommand.cpp @ 123:ed0003f6102c wasm
dynamic loading of rt-struct renderers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 07 Oct 2017 13:11:12 +0200 |
parents | 2eca030792aa |
children | e2fe9352f240 |
line wrap: on
line diff
--- a/Platforms/Generic/WebServicePostCommand.cpp Fri Oct 06 17:25:08 2017 +0200 +++ b/Platforms/Generic/WebServicePostCommand.cpp Sat Oct 07 13:11:12 2017 +0200 @@ -41,6 +41,7 @@ void WebServicePostCommand::Execute() { Orthanc::HttpClient client(parameters_, uri_); + client.SetTimeout(60); client.SetMethod(Orthanc::HttpMethod_Post); client.GetBody().swap(body_); success_ = client.Apply(answer_);