Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
gvfs
0001-http-Ensure-the-range-header-is-updated.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-http-Ensure-the-range-header-is-updated.patch of Package gvfs
From ee9743d30107fb86ba58d3bf78c85ef2792797b4 Mon Sep 17 00:00:00 2001 From: Ross Lagerwall <rosslagerwall@gmail.com> Date: Sun, 8 Dec 2013 13:02:35 +0200 Subject: [PATCH] http: Ensure the range header is updated Ensure that the range header is updated every time ensure_request() is called in case it has been updated. https://bugzilla.gnome.org/show_bug.cgi?id=710534 --- daemon/gvfshttpinputstream.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/gvfshttpinputstream.c b/daemon/gvfshttpinputstream.c index 4d18bcf..fb1929a 100644 --- a/daemon/gvfshttpinputstream.c +++ b/daemon/gvfshttpinputstream.c @@ -117,11 +117,11 @@ g_vfs_http_input_stream_ensure_request (GInputStream *stream) g_assert_no_error (error); priv->msg = soup_request_http_get_message (SOUP_REQUEST_HTTP (priv->req)); priv->offset = 0; - - if (priv->range) - soup_message_headers_replace (priv->msg->request_headers, "Range", priv->range); } + if (priv->range) + soup_message_headers_replace (priv->msg->request_headers, "Range", priv->range); + return priv->req; } -- 1.8.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor