summaryrefslogtreecommitdiff
path: root/libsoup/soup-session-sync.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2004-07-12 19:08:26 +0000
committerDan Winship <danw@src.gnome.org>2004-07-12 19:08:26 +0000
commit931ff330745d6a406d2fadcd87de2c46652ced0f (patch)
tree32ed5bd7264a9d1aa58dd11a1f11c0a9912fd391 /libsoup/soup-session-sync.c
parent17659a80a1486cbeadc6cf82284304578d379054 (diff)
downloadlibsoup-931ff330745d6a406d2fadcd87de2c46652ced0f.tar.gz
signal the "connections available" condition after the message finishes.
* libsoup/soup-session-sync.c (send_message): signal the "connections available" condition after the message finishes. Duh. * libsoup-2.2.pc.in (Cflags, Libs): add XML_CFLAGS and XML_LIBS
Diffstat (limited to 'libsoup/soup-session-sync.c')
-rw-r--r--libsoup/soup-session-sync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsoup/soup-session-sync.c b/libsoup/soup-session-sync.c
index 519f2e04..b31dcd80 100644
--- a/libsoup/soup-session-sync.c
+++ b/libsoup/soup-session-sync.c
@@ -158,6 +158,7 @@ connection_disconnected (SoupConnection *conn, gpointer user_data)
static guint
send_message (SoupSession *session, SoupMessage *msg)
{
+ SoupSessionSync *ss = SOUP_SESSION_SYNC (session);
SoupConnection *conn;
SOUP_SESSION_CLASS (parent_class)->queue_message (session, msg,
@@ -182,6 +183,8 @@ send_message (SoupSession *session, SoupMessage *msg)
g_signal_handlers_disconnect_by_func (conn, connection_disconnected, &conn);
}
+ g_cond_broadcast (ss->priv->cond);
+
/* If the message isn't finished, that means we need to
* re-send it on a new connection, so loop back to the
* beginning.