diff options
author | Dan Winship <danw@gnome.org> | 2011-11-30 19:16:36 +0100 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2012-04-28 13:18:11 -0400 |
commit | a4910d0ca8f5034d75e35dd69059332f01a64ac0 (patch) | |
tree | badd5aa3b486c1b6c74e77105e051623ea7a4fa4 /libsoup/soup-misc-private.h | |
parent | bac8c22fd28479a3be149c0d742b8c7417381091 (diff) | |
download | libsoup-a4910d0ca8f5034d75e35dd69059332f01a64ac0.tar.gz |
Reorganize proxy resolution, and support SOCKS and other proxy types
Push the proxy resolution code from SoupSession down into
SoupConnection and SoupSocket. If using a SoupProxyResolverDefault,
just enable proxy support on the GSocketClient instead (after adding
"http" as an application protocol). This way we get support for SOCKS
proxies (and any other proxies supported by GProxy types).
https://bugzilla.gnome.org/show_bug.cgi?id=553269
Diffstat (limited to 'libsoup/soup-misc-private.h')
-rw-r--r-- | libsoup/soup-misc-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsoup/soup-misc-private.h b/libsoup/soup-misc-private.h index 018d66a1..06978e82 100644 --- a/libsoup/soup-misc-private.h +++ b/libsoup/soup-misc-private.h @@ -22,4 +22,8 @@ GSocket *soup_socket_get_gsocket (SoupSocket *sock); GIOStream *soup_socket_get_connection (SoupSocket *sock); GIOStream *soup_socket_get_iostream (SoupSocket *sock); +#define SOUP_SOCKET_CLEAN_DISPOSE "clean-dispose" +#define SOUP_SOCKET_USE_PROXY "use-proxy" +SoupURI *soup_socket_get_http_proxy_uri (SoupSocket *sock); + #endif /* SOUP_URI_PRIVATE_H */ |