SoupSession: don't disconnect connections outside of conn_lock
authorDan Winship <danw@gnome.org>
Thu, 25 Oct 2012 09:19:37 +0000 (11:19 +0200)
committerDan Winship <danw@gnome.org>
Fri, 2 Nov 2012 19:26:09 +0000 (15:26 -0400)
commit1fa24555b7b0d1f35f24ec05950f218493cbebc2
treef2badb6584b968a6cb45c8a677d341549a1fd6a3
parent21d707d66460233596a04f6dc99c945d2dbc3085
SoupSession: don't disconnect connections outside of conn_lock

Always acquire conn_lock before disconnecting IDLE connections, to
avoid race conditions.
libsoup/soup-session.c