Fix some problems with cancelling an async socket connect op
authorDan Winship <danw@gnome.org>
Mon, 2 Apr 2012 13:56:37 +0000 (09:56 -0400)
committerDan Winship <danw@gnome.org>
Mon, 2 Apr 2012 13:56:37 +0000 (09:56 -0400)
commitfecc55438abff5746328fd447a81af2bd73dc2aa
treeefbbeffff3c41e0da7aeba585c1f04f0f11ce7f3
parent0c0619228a3488a4808cad2383073e00db22cd6d
Fix some problems with cancelling an async socket connect op

Cancelling a message while it was still connecting could result in an
(erroneous) warning about "disposing socket while still connected", or
an (accurate) warning about passing NULL to
g_tls_connection_handshake_finish(). Fix both of these.

Pointed out on the mailing list by Sven Neumann.
libsoup/soup-socket.c