soup-session: fix up the SoupRequest requeuing logic
authorDan Winship <danw@gnome.org>
Sat, 5 Jan 2013 23:25:12 +0000 (18:25 -0500)
committerDan Winship <danw@gnome.org>
Sat, 5 Jan 2013 23:25:12 +0000 (18:25 -0500)
commit08ff6d1d2124565b10c0b22b17769bf91fc6d5c2
tree7864958a0c48759147394918177c0414ea248f95
parent54978fa43f27107870d0c417bacd4dd9a6740479
soup-session: fix up the SoupRequest requeuing logic

Split the "this message is likely to be requeued" logic into a single
function that the sync and async codepaths can share, and fix it to
not think that SOUP_MESSAGE_NO_REDIRECT messages will be redirected,
or that messages that disable SOUP_TYPE_AUTH_MANAGER will be
authenticated.
libsoup/soup-session.c