[webkit-qt] Bypass proxy for localhost

Doherty, Mike (RPS Bristol) mike.doherty2 at hp.com
Thu Sep 8 06:33:28 PDT 2011


I've configured a proxy for QTWebKit using the instructions found on the QNetworkProxy page (http://doc.qt.nokia.com/latest/qnetworkproxy.html). This works find for internet requests but unfortunately it also appears to redirect my requests to localhost to the proxy server as well.

The documentation for QNetworkProxy seems to suggest that this shouldn't be the case:

Network proxy is not used if the address used in connectToHost(), bind() or listen() is equivalent to QHostAddress::LocalHost or QHostAddress::LocalHostIPv6.

What additional work do I need to do to ensure that the proxy is bypassed for localhost?

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110908/8de2bf88/attachment.html>


More information about the webkit-qt mailing list