Fix the retry-on-broken-connection codepath for SoupRequest
authorDan Winship <danw@gnome.org>
Mon, 9 Jul 2012 18:36:09 +0000 (14:36 -0400)
committerDan Winship <danw@gnome.org>
Fri, 13 Jul 2012 22:10:20 +0000 (18:10 -0400)
commit3de849ac548c85be59c7708d3520e57b55ee1e10
treef7b830dced9777e90951492f88eab5711c3a380e
parentce65958b63582548675aa598d5126be798e1e866
Fix the retry-on-broken-connection codepath for SoupRequest

The retry-if-the-server-closes-the-connection-immediately code was
only getting run in the SoupMessage API codepaths. Fit it into the
right place in the SoupRequest paths too, and test that from
connection-test.

Might fix https://bugzilla.gnome.org/show_bug.cgi?id=679527 ?
libsoup/soup-message-io.c
libsoup/soup-misc-private.h
libsoup/soup-session-async.c
libsoup/soup-session-sync.c
libsoup/soup-session.c
tests/connection-test.c