libproxy: fix handling of SOCKS in async API, add tests accepted/tizen/20130503.223206 accepted/tizen/20130520.095502 submit/tizen/20130503.205247 submit/tizen/20130509.175643 submit/tizen/20130517.021426
authorDan Winship <danw@gnome.org>
Wed, 1 May 2013 12:43:12 +0000 (08:43 -0400)
committerJoshua Lock <joshua.lock@intel.com>
Thu, 2 May 2013 15:00:45 +0000 (08:00 -0700)
commit026994a39911cab6171f5d061ada7ec62a905358
treeaee3b081b65aef7087c5964efd495f805b591920
parentec5b1d9196f0762c2eeab917d2df658fe7130661
libproxy: fix handling of SOCKS in async API, add tests

Fix the handling of SOCKS proxies with g_proxy_resolver_lookup_async()
and the libproxy resolver. (Also, make the sync proxy resolver
properly cancellable.)

Add some tests of the libproxy resolver, based on the existing gnome
proxy resolver tests. Unfortunately, libproxy doesn't implement ignore
hosts in exactly the same way GProxyResolverGnome does, so we need to
keep track of which URIs they give different results for...

https://bugzilla.gnome.org/show_bug.cgi?id=699359

Origin: upstream, commit:1b9f7e08 Applied-upstream: 2.37.2
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=699359
Bug-Tizen: https://tz.otcshare.org/jira/browse/TZPC-2187
proxy/libproxy/glibproxyresolver.c
proxy/tests/Makefile.am
proxy/tests/common.c [new file with mode: 0644]
proxy/tests/gnome.c
proxy/tests/libproxy.c [new file with mode: 0644]