diff OrthancServer/ServerContext.cpp @ 1273:88010d8e12cf

Support of HTTP proxy
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Jan 2015 16:08:58 +0100
parents 32fcc5dc7562
children 21ea32170764
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Mon Jan 12 17:42:29 2015 +0100
+++ b/OrthancServer/ServerContext.cpp	Mon Jan 19 16:08:58 2015 +0100
@@ -84,6 +84,7 @@
     //scu_.SetMillisecondsBeforeClose(1);  // The connection is always released
 
     lua_.Execute(Orthanc::EmbeddedResources::LUA_TOOLBOX);
+    lua_.SetHttpProxy(Configuration::GetGlobalStringParameter("HttpProxy", ""));
   }
 
   void ServerContext::SetCompressionEnabled(bool enabled)