Don't set up the soup-transfer callbacks to keep reading off the
authorDan Winship <danw@src.gnome.org>
Thu, 24 Apr 2003 17:59:02 +0000 (17:59 +0000)
committerDan Winship <danw@src.gnome.org>
Thu, 24 Apr 2003 17:59:02 +0000 (17:59 +0000)
commit2fdf5ec39d4e9411966b2f670ff8aa5052029d2f
tree8204a7790f51940cc5a7e9bcfe72a6685d09e998
parent63e2f5bc8b166e75f632c2b171f5d30fce0602e0
Don't set up the soup-transfer callbacks to keep reading off the

        * libsoup/soup-message.c (soup_message_cleanup): Don't set up the
        soup-transfer callbacks to keep reading off the connection unless
        we're actually going to keep the connection around afterward.
        Otherwise we can just close it.

        * libsoup/soup-transfer.c: Re-kludge the awful IGNORE_CANCEL
        thingy so that it's possible to cancel a read from inside a
        callback so that the above change actually works instead of just
        crashing.
ChangeLog
libsoup/soup-message.c
libsoup/soup-transfer.c