Re: [Development] QtNetwork: using system proxy by default

2012-10-17 Thread Peter Hartmann
What I forgot to say in my first mail: We would want to use that in 4.8, where we don't want to change the default behaviour anyhow. How about option 3 below, where the default can be set to "yes" in Qt5 globally or per platform once we are confident it works? The benefit of that option is that

Re: [Development] QtNetwork: using system proxy by default

2012-10-16 Thread Thiago Macieira
On terça-feira, 16 de outubro de 2012 14.55.24, shane.kea...@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

Re: [Development] QtNetwork: using system proxy by default

2012-10-16 Thread shane.kearns
ect: Re: [Development] QtNetwork: using system proxy by default > > On segunda-feira, 15 de outubro de 2012 16.33.39, > shane.kea...@accenture.com > wrote: > > When using the windows API, we can enable either DNS, DHCP or both. > > Using DNS only would be faster, but may not wo

Re: [Development] QtNetwork: using system proxy by default

2012-10-15 Thread Thiago Macieira
On segunda-feira, 15 de outubro de 2012 16.33.39, shane.kea...@accenture.com wrote: > When using the windows API, we can enable either DNS, DHCP or both. > Using DNS only would be faster, but may not work for some users if their > office network used DHCP only deployment. > > Also, I checked toda

Re: [Development] QtNetwork: using system proxy by default

2012-10-15 Thread shane.kearns
om] Sent: 15 October 2012 16:00 To: Kearns, Shane Cc: Subject: Re: [Development] QtNetwork: using system proxy by default Hi Shane, (adding the ML back in again…) wouldn't Windows run the DHCP detection only once at startup (or when network status changes) and cache the result? Why would we

Re: [Development] QtNetwork: using system proxy by default

2012-10-15 Thread Knoll Lars
s [lars.kn...@digia.com] > Sent: 15 October 2012 08:39 > To: Kearns, Shane > Subject: Re: [Development] QtNetwork: using system proxy by default > > I'd agree with Simon that #4 would be the best default option from a user > experience point of view. Most likely it's also wha

Re: [Development] QtNetwork: using system proxy by default

2012-10-11 Thread Thiago Macieira
On quinta-feira, 11 de outubro de 2012 14.02.11, shane.kea...@accenture.com wrote: > Libproxy performance is unknown, I've only done functional testing. I'd rather not use libproxy until we're certain we can tell it which JS library to use. It needs to be one of ours, not webkit-gtk or mozjs. -

Re: [Development] QtNetwork: using system proxy by default

2012-10-11 Thread shane.kearns
> IMHO #4 gives the best out-of-the-box experience. > > Is there a way to do the blocking winapi call in a thread on app start- > up maybe? Doesn't help if the first thing an application wants to do is download something from the network. It would only help because of the workaround we already ha

Re: [Development] QtNetwork: using system proxy by default

2012-10-11 Thread Hausmann Simon
IMHO #4 gives the best out-of-the-box experience. Is there a way to do the blocking winapi call in a thread on app start-up maybe? How do other apps (i.e. Chrome) handle this without blocking the user experience? Simon -- Sendt fra min Nokia N911.10.12 15:12 skrev Peter Hartmann: Hello, I r

Re: [Development] QtNetwork: using system proxy by default

2012-10-11 Thread shane.kearns
Subject: [Development] QtNetwork: using system proxy by default > > Hello, > > I remember this has been discussed before, but yet again: How about > using the system proxy by default, at least on some platforms or by > configure switch? Right now every app developer has to call > QNetw

[Development] QtNetwork: using system proxy by default

2012-10-11 Thread Peter Hartmann
Hello, I remember this has been discussed before, but yet again: How about using the system proxy by default, at least on some platforms or by configure switch? Right now every app developer has to call QNetworkProxyFactory::setUseSystemConfiguration(true) in his code to use the system proxies