Mercurial > hg > orthanc
comparison OrthancServer/main.cpp @ 1987:ce90d109bb64
new plugin functions: OrthancPluginHttpClient and OrthancPluginGenerateUuid
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 26 Apr 2016 17:40:55 +0200 |
parents | b5d4f9c156ad |
children | f0acfa753973 |
comparison
equal
deleted
inserted
replaced
1986:99b249867052 | 1987:ce90d109bb64 |
---|---|
890 IStorageArea& storageArea, | 890 IStorageArea& storageArea, |
891 OrthancPlugins *plugins) | 891 OrthancPlugins *plugins) |
892 { | 892 { |
893 ServerContext context(database, storageArea); | 893 ServerContext context(database, storageArea); |
894 | 894 |
895 HttpClient::ConfigureSsl(Configuration::GetGlobalBoolParameter("HttpsVerifyPeers", true), | |
896 Configuration::GetGlobalStringParameter("HttpsCACertificates", "")); | |
895 HttpClient::SetDefaultTimeout(Configuration::GetGlobalIntegerParameter("HttpTimeout", 0)); | 897 HttpClient::SetDefaultTimeout(Configuration::GetGlobalIntegerParameter("HttpTimeout", 0)); |
898 HttpClient::SetDefaultProxy(Configuration::GetGlobalStringParameter("HttpProxy", "")); | |
896 context.SetCompressionEnabled(Configuration::GetGlobalBoolParameter("StorageCompression", false)); | 899 context.SetCompressionEnabled(Configuration::GetGlobalBoolParameter("StorageCompression", false)); |
897 context.SetStoreMD5ForAttachments(Configuration::GetGlobalBoolParameter("StoreMD5ForAttachments", true)); | 900 context.SetStoreMD5ForAttachments(Configuration::GetGlobalBoolParameter("StoreMD5ForAttachments", true)); |
898 | 901 |
899 try | 902 try |
900 { | 903 { |