Hooked proxy enumeration into GSocketClient
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Tue, 10 Aug 2010 20:48:45 +0000 (16:48 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Thu, 19 Aug 2010 20:32:37 +0000 (16:32 -0400)
commita6c3820f46b9caabc45ab19aaf2669b4cb04c5d5
tree22a3f91048e73f9949acfd19ecce486c9b1877ad
parentee3dbf747e48a41c916674f111906f57996fd626
Hooked proxy enumeration into GSocketClient

This functionnallity can be disabled using property enable-proxy. It
enumerates addresses using GSocketConnectable::proxy_enumerate() instead of
enumerate(). When the returned address is of type GProxyAddress (a type
based on GInetSocketAddress), it gets the proxy protocol handler using
g_proxy_get_default_for_protocol() and call connect() on it.

Reviewed-by: Dan Winship <danw@gnome.org>
docs/reference/gio/gio-sections.txt
gio/gio.symbols
gio/gsocketclient.c
gio/gsocketclient.h