diff OrthancServer/Scheduler/StorePeerCommand.cpp @ 1273:88010d8e12cf

Support of HTTP proxy
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Jan 2015 16:08:58 +0100
parents 0561f2087cc9
children 6e7e5ed91c2d
line wrap: on
line diff
--- a/OrthancServer/Scheduler/StorePeerCommand.cpp	Mon Jan 12 17:42:29 2015 +0100
+++ b/OrthancServer/Scheduler/StorePeerCommand.cpp	Mon Jan 19 16:08:58 2015 +0100
@@ -52,6 +52,7 @@
   {
     // Configure the HTTP client
     HttpClient client;
+    client.SetProxy(Configuration::GetGlobalStringParameter("HttpProxy", ""));
     if (peer_.GetUsername().size() != 0 && 
         peer_.GetPassword().size() != 0)
     {