summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorThierry <thierryb@filewave.com>2012-03-28 20:09:20 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-03 12:45:46 +0200
commitaad60ec53683e057c05ff760200a467e844cfba3 (patch)
tree5c4401b2e86142714a81f3e4a5cd718166a7266e /tests/auto
parent45b7b0599cd1ebdfe17487215b36ff766068f0e8 (diff)
Fixes a problem with the proxy detection on Windows
The current scheme is to use IE's default config. If that fails get the winhttp config. That's ok. The problem is that if you run a program as a service getting the IE config will set the fAutoDetect flag. But later the call to WinHttpGetProxyForUrl mightfail with the error code ERROR_WINHTTP_AUTODETECTION_FAILED. this patch just makes sure that we have a fallback winhttp solution in case the IE proxy is not set. The new code detcted if the current process is a service, in which case it will try to default to the system-wide proxy. Change-Id: I57e9082a46a8422c54f8f069715752c271a3a001 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions