KIO, proxies, libproxy and OS X/MSWin

David Faure faure at kde.org
Sun Nov 6 09:38:26 UTC 2016


On jeudi 22 septembre 2016 13:20:35 CET René J.V. Bertin wrote:
> Hi,
> 
> Can someone provide a synthetic resume of how KIO handles proxies 

Via QNetworkProxy it seems, in the slaves themselves.
See kio/src/ioslaves/http/http.cpp

> I observe that
> - KIO doesn't link to libproxy and doesn't require its presence in order to
> build - libproxy is capable of detecting the system settings on OS X
> - Qt can build against libproxy but doesn't appear to use it on OS X
> - kcm_kio.so is at least partly effective on OS X, when testing with
> konqueror5: -- manual proxy configuration is taken into account
> -- the direct/no proxy setting is respected
> -- auto-detection of the system proxy configuration doesn't fill in the
> dialog form, but connections *are* routed through the proxy -- automatic
> proxy detection doesn't work correctly and leads to using direct
> connections.

I think "automatic proxy detection" is the use case where javascript has to be 
executed to find out which proxy to use (kio/src/kpac). Needs re-testing after
the port to Qt5, I suppose.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list