Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.0.2
-
None
-
Windows 7
Description
When calling QNetworkAccessManager::get() before and after a change of Windows' system proxy settings, the latter call will not account for the change in settings.
Steps to reproduce:
- Run the attached application.
- Check the "System proxy" option.
- Click the "Send request" button. The reply will be valid (assuming your system proxy settings are valid).
- Change your system proxy settings to be invalid (or valid if they were originally invalid).
- Click the "Send request" button again. The reply will still be valid (assuming your system proxy settings were originally valid), even though the system proxy settings have changed.
The problem most likely lies below, at line 403 of qnetworkproxy_win.cpp:
void QWindowsSystemProxy::init() { if (initialized) return; initialized = true;
A workaround is to comment out the first two lines of init().
Attachments
Issue Links
- depends on
-
QTBUG-10106 Figuring out the why proxy lookup takes long on windows
-
- Reported
-