-
Arnaud Vrac authored
Fix a regression introduced by commit 183695c6 (refactor to use Soup's sync API). The code previously attempted to reconnect when the server closed the connection early, for example when the stream was put in pause for some time. Reintroduce this feature by checking if EOS is received before the expected content size is downloaded. In this case, do the request starting at the previous read position. https://bugzilla.gnome.org/show_bug.cgi?id=776720
03db3741