[Development] QtNetwork: using system proxy by default
Thiago Macieira
thiago.macieira at intel.com
Tue Oct 16 17:04:23 CEST 2012
On terça-feira, 16 de outubro de 2012 14.55.24, shane.kearns at accenture.com
wrote:
> > I'd create a (wall-clock) timer and enable the DHCP resolution on
> > Windows only once every 10 minutes. I'd also use it as a fallback if
> > and only if the DNS resolution failed.
>
> That doesn't help with the 12 second freeze, since both methods fail if
> you are on a network with no autoproxy.
> We need to be calling WinHttpGetProxyForUrl or
> WinHttpDetectAutoProxyConfigUrl in a thread, like we do for name
> resolutions.
Sounds good. I'd recommend reusing the hostinfo thread pool for that too.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121016/747c626b/attachment.sig>
More information about the Development
mailing list