Re-redo not-yet-used connection handling
authorDan Winship <danw@gnome.org>
Fri, 21 Aug 2009 23:03:56 +0000 (19:03 -0400)
committerDan Winship <danw@gnome.org>
Sat, 22 Aug 2009 13:32:24 +0000 (09:32 -0400)
commitb68deb288f2f8e3c6877f515851862294e12f20b
treef53677928c84ed54399b25904d84f07d272a27ad
parent8e7972844567e5385bbd02c2e534b451a3cc1da6
Re-redo not-yet-used connection handling

Previously we were taking special care to avoid closing connections
that hadn't been used yet, but this is not actually necessary;
run_queue() doesn't prune idle connections until after running through
the entire queue once, so if the new connection is still idle at that
point, it means we no longer have a message to send on it (probably
because the message already got sent on another connection), and so it
is legitimate to close it if needed.

http://bugzilla.gnome.org/show_bug.cgi?id=592084
libsoup/soup-connection.c
libsoup/soup-connection.h
libsoup/soup-session.c