[Interest] Issues with HTTPS, Google Maps, SSL, proxy & Qt 5.1

Thiago Macieira thiago.macieira at intel.com
Fri Jul 19 16:59:23 CEST 2013


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
-------------- 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/interest/attachments/20130719/ceba163d/attachment.sig>


More information about the Interest mailing list