summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-26 15:30:57 +0000
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-26 17:13:32 +0000
commit64ac6b9103a899394f4cccb0f68184d865b9165c (patch)
tree1a163675f57259d89d7a107a906ba8204ca12c31 /src
parenta4cb93a17d9bdd151421118cc18bf4a8a557844e (diff)
tube_stream: query SOCKS5 proxy when creating an incoming tube
We'll need proxies when we'll accept the tube.
Diffstat (limited to 'src')
-rw-r--r--src/tube-stream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tube-stream.c b/src/tube-stream.c
index 9aedd5f98..de9bf4fb0 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -1516,6 +1516,10 @@ gabble_tube_stream_constructor (GType type,
else
{
priv->state = TP_TUBE_CHANNEL_STATE_LOCAL_PENDING;
+
+ /* We'll need SOCKS5 proxies if the tube is accepted */
+ gabble_bytestream_factory_query_socks5_proxies (
+ priv->conn->bytestream_factory);
}
if (priv->handle_type == TP_HANDLE_TYPE_CONTACT)