Re: [Interest] Odd Proxy Behavior

2016-11-29 Thread Thiago Macieira
On terça-feira, 29 de novembro de 2016 20:06:35 PST Jason Kretzer wrote: > Thanks Thiago. > === > Why this if? Why not always tell it to use the system configuration? > === > > If there was a proxy detected should I not try to use it? Or does the line > below just automatically use whatever is se

Re: [Interest] Odd Proxy Behavior

2016-11-29 Thread Jason Kretzer
:) -Jason -Original Message- From: Interest [mailto:interest-bounces+jason=gocodigo@qt-project.org] On Behalf Of Thiago Macieira Sent: Tuesday, November 29, 2016 7:34 PM To: interest@qt-project.org Subject: Re: [Interest] Odd Proxy Behavior On terça-feira, 29 de novembro de 2016 09

Re: [Interest] Odd Proxy Behavior

2016-11-29 Thread Thiago Macieira
On terça-feira, 29 de novembro de 2016 09:34:32 PST Jason Kretzer wrote: > if(listOfProxies.size() > 0) { > QNetworkProxy::setApplicationProxy(listOfProxies[0]); > } else { > QNetworkProxyFactory::setUseSystemConfiguration(true); > } Why this if? Why not always tell it

[Interest] Odd Proxy Behavior

2016-11-29 Thread Jason Kretzer
Typically, this code just works. Ever since implementing it, I have had no issues at all when putting a device behind a network proxy — both HttpProxy and HttpCachingProxy. Unfortunately, it is not working for a particular HttpProxy. Here is the code: qDebug() << "Detecting Proxy Settings