# HG changeset patch # User Paul Aurich # Date 1296532850 0 # Node ID 928335d6461b2c0ef56f138162dc725574be6998 # Parent c9e4250c5b0dddd8f48ff3be0869a871718fed68 jabber: bosh: Hopefully a final corrective fix. Refs #13008 diff -r c9e4250c5b0d -r 928335d6461b libpurple/protocols/jabber/bosh.c --- a/libpurple/protocols/jabber/bosh.c Sun Jan 30 20:29:40 2011 +0000 +++ b/libpurple/protocols/jabber/bosh.c Tue Feb 01 04:00:50 2011 +0000 @@ -365,6 +365,8 @@ chosen = find_available_http_connection(conn); if (!chosen) { + if (type == PACKET_FLUSH) + return; /* * For non-ordinary traffic, we can't 'buffer' it, so use the * first connection. @@ -472,6 +474,8 @@ if (!bosh->pipelining) return; + purple_debug_info("jabber", "BOSH: Disabling pipelining on conn %p\n", + bosh); bosh->pipelining = FALSE; if (bosh->connections[1] == NULL) { bosh->connections[1] = jabber_bosh_http_connection_init(bosh);