mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-16 07:03:34 +02:00
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>
This commit is contained in:
@ -1798,6 +1798,8 @@ g_socket_client_get_local_address
|
||||
g_socket_client_get_protocol
|
||||
g_socket_client_get_socket_type
|
||||
g_socket_client_get_timeout
|
||||
g_socket_client_get_enable_proxy
|
||||
g_socket_client_set_enable_proxy
|
||||
<SUBSECTION Standard>
|
||||
GSocketClientClass
|
||||
G_IS_SOCKET_CLIENT
|
||||
|
Reference in New Issue
Block a user