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

Issue 348053: Http cache: Make sure that we handle byte range requests that... (Closed)

Created:
11 years, 1 month ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
Reviewers:
eroman
CC:
chromium-reviews_googlegroups.com, darin (slow to review), Paweł Hajdan Jr.
Visibility:
Public.

Description

Http cache: Make sure that we handle byte range requests that end up skipping the cache. BUG=26175 TEST=unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30877

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -3 lines) Patch
M net/http/http_cache.cc View 3 chunks +8 lines, -3 lines 2 comments Download
M net/http/http_cache_unittest.cc View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
rvargas (doing something else)
11 years, 1 month ago (2009-11-03 02:22:15 UTC) #1
eroman
lgtm http://codereview.chromium.org/348053/diff/1/3 File net/http/http_cache.cc (right): http://codereview.chromium.org/348053/diff/1/3#newcode640 Line 640: mode_ = NONE; I expect you need ...
11 years, 1 month ago (2009-11-03 04:51:28 UTC) #2
rvargas (doing something else)
11 years, 1 month ago (2009-11-03 18:28:26 UTC) #3
http://codereview.chromium.org/348053/diff/1/3
File net/http/http_cache.cc (right):

http://codereview.chromium.org/348053/diff/1/3#newcode640
Line 640: mode_ = NONE;
On 2009/11/03 04:51:28, eroman wrote:
> I expect you need to restore headers here too.

This block requires mode_ to be UPDATE so we don't have a byte range request (we
avoid that in SetRequest). I can add a dcheck if you want me to.

Powered by Google App Engine
This is Rietveld 408576698