libproxy: fix handling of SOCKS in async API, add tests
authorDan Winship <danw@gnome.org>
Wed, 1 May 2013 12:43:12 +0000 (08:43 -0400)
committerDan Winship <danw@gnome.org>
Wed, 1 May 2013 12:43:12 +0000 (08:43 -0400)
commit1b9f7e08faa64c8db1165411d7ddd861fc1f7a24
treee0fd48cb15d77ce618cd65a2661781aec6b3f7b2
parent1cc3955a84348b1ab764ea496127507fe5a6ba01
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
.gitignore
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]