SoupSession: continue reorg, remove remaining signal-based flow control
authorDan Winship <danw@gnome.org>
Thu, 3 Jun 2010 19:23:22 +0000 (21:23 +0200)
committerDan Winship <danw@gnome.org>
Wed, 9 Jun 2010 15:25:31 +0000 (11:25 -0400)
commitb288692d67772c08296ee3aef58965219fcbbfca
tree57c162a7c82d457c66f39b6657884ae27c81b639
parent6d7e7e21e2da6109dd9ce287c2b51e312d66c2c7
SoupSession: continue reorg, remove remaining signal-based flow control

Make the sessions more state-machiney and fix up
soup_session_cancel_message() by having it set the message to the
(new) FINISHING state and letting the session implementation pick it
up from there. Remove the remaining "finished" and "restarted" signal
handlers; move the base session's "finished" handler to
"soup_session_unqueue_item" and call that from the right places in the
subclasses.
libsoup/soup-message-queue.h
libsoup/soup-session-async.c
libsoup/soup-session-private.h
libsoup/soup-session-sync.c
libsoup/soup-session.c