[Telepathy-commits] [telepathy-salut/master] new_connection_to_socket: block the transport while the bytesream is not open
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Fri Dec 12 06:38:10 PST 2008
---
src/tube-stream.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/tube-stream.c b/src/tube-stream.c
index b45a734..26ff529 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -675,6 +675,9 @@ new_connection_to_socket (SalutTubeStream *self,
g_assert_not_reached ();
}
+ /* Block the transport while there is no open bytestream to transfer
+ * its data. */
+ gibber_transport_block_receiving (transport, TRUE);
g_hash_table_insert (priv->bytestream_to_transport, g_object_ref (bytestream),
g_object_ref (transport));
--
1.5.6.5
More information about the Telepathy-commits
mailing list