Mercurial > trustbridge
comparison ui/downloader_win.cpp @ 409:09bb19e5e369
Remove m13 mentions and change test certificate to intevation.de
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 16 Apr 2014 14:00:12 +0000 |
parents | 17e1c8f37d72 |
children | 82fab0c689bf |
comparison
equal
deleted
inserted
replaced
408:ac9e95ef6966 | 409:09bb19e5e369 |
---|---|
155 if (proxyConfig.lpszProxy || proxyConfig.lpszProxyBypass) { | 155 if (proxyConfig.lpszProxy || proxyConfig.lpszProxyBypass) { |
156 DEBUG << "Using proxies."; | 156 DEBUG << "Using proxies."; |
157 } | 157 } |
158 | 158 |
159 if (proxyConfig.lpszProxy) { | 159 if (proxyConfig.lpszProxy) { |
160 *pHSession = WinHttpOpen(L"M13 "MYVERSION, | 160 *pHSession = WinHttpOpen(L"TrustBridge "MYVERSION, |
161 WINHTTP_ACCESS_TYPE_NAMED_PROXY, | 161 WINHTTP_ACCESS_TYPE_NAMED_PROXY, |
162 proxyConfig.lpszProxy, | 162 proxyConfig.lpszProxy, |
163 proxyConfig.lpszProxyBypass, 0); | 163 proxyConfig.lpszProxyBypass, 0); |
164 } | 164 } |
165 } | 165 } |
166 | 166 |
167 if (!*pHSession) { | 167 if (!*pHSession) { |
168 DEBUG << "No IE Proxy falling back to default proxy"; | 168 DEBUG << "No IE Proxy falling back to default proxy"; |
169 *pHSession = WinHttpOpen(L"M13 "MYVERSION, | 169 *pHSession = WinHttpOpen(L"TrustBridge "MYVERSION, |
170 WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, | 170 WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, |
171 WINHTTP_NO_PROXY_NAME, | 171 WINHTTP_NO_PROXY_NAME, |
172 WINHTTP_NO_PROXY_BYPASS, 0); | 172 WINHTTP_NO_PROXY_BYPASS, 0); |
173 } | 173 } |
174 // Cleanup | 174 // Cleanup |