Skip to content
Commit cb950723 authored by Ondrej Holy's avatar Ondrej Holy
Browse files

http: Return error if seek was not successful

Some webdav servers doesn't implement range requests, which are
necessary for a seek support. GVfsHttpInputStream doesn't handle this
case. Consequently g_seekable_tell returns a requested offset, however
g_input_stream_read returns bytes from a beginning of a file.

Return error if Content-Range header field is missing, or the range is
not valid. This change is needed to avoid data corruption when reading.

https://bugzilla.gnome.org/show_bug.cgi?id=754824
parent ec40e26a
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