Skip to content
Commit cac80850 authored by Dan Winship's avatar Dan Winship Committed by Tomáš Bžatek
Browse files

http: replace SoupInputStream with SoupRequest

Replace the hacky SoupInputStream with a new GVfsHttpInputStream that
is a wrapper around SoupRequest. (We need a wrapper stream rather than
just using SoupRequest directly because we want the stream here to be
seekable, which requires cancelling and re-sending the HTTP request
and getting a new underlying stream.)

The http and dav backends still use both a sync and an async
SoupSession, even though this is no longer necessary, since changing
this would require a lot of rewriting of code that currently works.

https://bugzilla.gnome.org/show_bug.cgi?id=687757



Signed-off-by: default avatarTomas Bzatek <tbzatek@redhat.com>
parent 333d9db1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment