SoupSession: set the connection to IDLE on unqueuing SoupMessages
authorSergio Villar Senin <svillar@igalia.com>
Mon, 26 Sep 2011 17:09:31 +0000 (19:09 +0200)
committerDan Winship <danw@gnome.org>
Thu, 29 Sep 2011 14:36:25 +0000 (10:36 -0400)
commitd8108886c151bd0f190e949cf3e64d2a137a13a0
tree94fd1e35bcad342f10949dc4ceae65d5da70e650
parent5cb220971a58d00616711d8ba04b7eaff89445a5
SoupSession: set the connection to IDLE on unqueuing SoupMessages

Connection should be set to IDLE state only after being 100% sure that is
not going to be reused by the current owner.

Also, fix a bug in SoupSessionSync revealed by this change.

https://bugzilla.gnome.org/show_bug.cgi?id=651146
libsoup/soup-message-io.c
libsoup/soup-session-sync.c
libsoup/soup-session.c