Reorganize this; emitting DISCONNECTED may cause the session to unref the
authorDan Winship <danw@src.gnome.org>
Fri, 1 Feb 2008 17:09:56 +0000 (17:09 +0000)
committerDan Winship <danw@src.gnome.org>
Fri, 1 Feb 2008 17:09:56 +0000 (17:09 +0000)
commitec7a14f0bc576b77d3791609a576f76c23a7604c
treee2657ac03798a6f43eecb4e2c330ac26d3dd9d12
parent5d75cce2ba1aa2b6ee8c1f4ea5b1069f12336c17
Reorganize this; emitting DISCONNECTED may cause the session to unref the

* libsoup/soup-connection.c (soup_connection_disconnect):
Reorganize this; emitting DISCONNECTED may cause the session to
unref the connection, causing it to be destroyed, so do everything
else before that. #437835 and dups. Also, call
soup_message_cleanup_response() when requeuing an IO_ERROR-ed
message, so soup_session_send_message() will requeue it rather
than treating it as failed.

svn path=/trunk/; revision=1066
ChangeLog
libsoup/soup-connection.c