comparison 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
comparison
equal deleted inserted replaced
1272:7442097b41c9 1273:88010d8e12cf
82 { 82 {
83 scu_.SetLocalApplicationEntityTitle(Configuration::GetGlobalStringParameter("DicomAet", "ORTHANC")); 83 scu_.SetLocalApplicationEntityTitle(Configuration::GetGlobalStringParameter("DicomAet", "ORTHANC"));
84 //scu_.SetMillisecondsBeforeClose(1); // The connection is always released 84 //scu_.SetMillisecondsBeforeClose(1); // The connection is always released
85 85
86 lua_.Execute(Orthanc::EmbeddedResources::LUA_TOOLBOX); 86 lua_.Execute(Orthanc::EmbeddedResources::LUA_TOOLBOX);
87 lua_.SetHttpProxy(Configuration::GetGlobalStringParameter("HttpProxy", ""));
87 } 88 }
88 89
89 void ServerContext::SetCompressionEnabled(bool enabled) 90 void ServerContext::SetCompressionEnabled(bool enabled)
90 { 91 {
91 if (enabled) 92 if (enabled)