Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Issue 92149: Supports single range request with file protocol... (Closed)

Created:
11 years, 8 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, ralphl, fbarchard
Visibility:
Public.

Description

Supports single range request with file protocol Added range request support in URLRequestFileJob to respect "Range" HTTP header. Fail with ERR_REQUESTED_RANGE_NOT_SATISFIABLE if range is bad. The following range request modes are supported: 1. Fully specified: bytes=x-y 2. With first byte position only: bytes=x- 3. With suffix length: bytes=-y Multiple ranges in a single request is not supported as we need to multipart encoding.. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14799

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 22

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -9 lines) Patch
M net/base/net_error_list.h View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M net/url_request/url_request_file_job.h View 1 2 3 4 4 chunks +6 lines, -1 line 0 comments Download
M net/url_request/url_request_file_job.cc View 1 2 3 4 5 6 7 7 chunks +55 lines, -6 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 2 3 4 3 chunks +134 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Alpha Left Google
11 years, 8 months ago (2009-04-25 01:19:05 UTC) #1
rvargas (doing something else)
http://codereview.chromium.org/92149/diff/2011/3010 File net/url_request/url_request_file_job.cc (right): http://codereview.chromium.org/92149/diff/2011/3010#newcode142 Line 142: DCHECK(remaining_bytes_ >= 0); nit:DCHECK_GE http://codereview.chromium.org/92149/diff/2011/3010#newcode152 Line 152: DCHECK(remaining_bytes_ ...
11 years, 8 months ago (2009-04-27 22:39:45 UTC) #2
Alpha Left Google
http://codereview.chromium.org/92149/diff/2011/3010 File net/url_request/url_request_file_job.cc (right): http://codereview.chromium.org/92149/diff/2011/3010#newcode142 Line 142: DCHECK(remaining_bytes_ >= 0); On 2009/04/27 22:39:45, rvargas wrote: ...
11 years, 8 months ago (2009-04-28 02:21:09 UTC) #3
rvargas (doing something else)
LGTM http://codereview.chromium.org/92149/diff/2011/3010 File net/url_request/url_request_file_job.cc (right): http://codereview.chromium.org/92149/diff/2011/3010#newcode249 Line 249: DCHECK(remaining_bytes_ > 0); On 2009/04/28 02:21:09, Alpha ...
11 years, 8 months ago (2009-04-28 17:28:54 UTC) #4
Alpha Left Google
On 2009/04/28 17:28:54, rvargas wrote: > LGTM > > http://codereview.chromium.org/92149/diff/2011/3010 > File net/url_request/url_request_file_job.cc (right): > ...
11 years, 8 months ago (2009-04-28 18:41:54 UTC) #5
rvargas (doing something else)
11 years, 8 months ago (2009-04-28 22:59:54 UTC) #6
OK

Powered by Google App Engine
This is Rietveld 408576698