[Interest] Issues with HTTPS, Google Maps, SSL, proxy & Qt 5.1
John C. Turnbull
ozemale at ozemail.com.au
Sat Jul 20 07:07:37 CEST 2013
Hi Thiago,
Thanks for your response.
You stated:
> HTTP proxies can handle HTTPS traffic too, by using issuing a
> CONNECT hostname:443 HTTP/1.0
> command.
Pardon my ignorance, but how and where do I issue such a command? Is it
part of the QNetworkProxy configuration?
Thanks,
-jct
-----Original Message-----
From: interest-bounces+ozemale=ozemail.com.au at qt-project.org
[mailto:interest-bounces+ozemale=ozemail.com.au at qt-project.org] On Behalf Of
Thiago Macieira
Sent: Saturday, 20 July 2013 00:59
To: interest at qt-project.org
Subject: Re: [Interest] Issues with HTTPS, Google Maps, SSL, proxy & Qt 5.1
On sexta-feira, 19 de julho de 2013 23.07.10, John C. Turnbull wrote:
> For that machine I tried something like this:
>
>
>
> QNetworkProxy proxy;
>
> proxy.setType(QNetworkProxy::Socks5Proxy);
This line is useless because:
>
> proxy.setType(QNetworkProxy::HttpProxy);
You override the type here.
>
> proxy.setHostName("proxy.example.com");
>
> proxy.setPort(1080);
>
> QNetworkProxy::setApplicationProxy(proxy);
>
>
>
> But I cannot see how to set proxy settings for HTTPS as HttpProxy is
> the only type available.
HTTP proxies can handle HTTPS traffic too, by using issuing a
CONNECT hostname:443 HTTP/1.0
command.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list