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

Issue 452017: Http cache: Add code to restart a network request when the... (Closed)

Created:
11 years 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: Add code to restart a network request when the server doesn't revalidate a partially stored entry, in other words, after we issued a conditional byte range request. BUG=27276, 28850 TEST=unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33412

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -28 lines) Patch
M net/http/http_cache_transaction.h View 1 chunk +5 lines, -2 lines 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 3 4 5 chunks +49 lines, -23 lines 0 comments Download
M net/http/http_cache_unittest.cc View 1 chunk +42 lines, -0 lines 0 comments Download
M net/http/partial_data.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/partial_data.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
rvargas (doing something else)
The only changes from the previously reviewed code are lines 1009, 1282 and 1285.
11 years ago (2009-12-01 00:40:28 UTC) #1
eroman
ok, lgtm. please add a comment explaining why !auth_response.headers, since this is not obvious.
11 years ago (2009-12-01 01:44:33 UTC) #2
rvargas1
11 years ago (2009-12-01 01:58:23 UTC) #3
Thanks, comment :
        // If there is no callback we'll return OK to the caller so we
cannot
        // restart the request. If we have an authentication response, we
are
        // exposed to weird things hapenning if the user cancels the
        // authentication before we receive the new response.

On Mon, Nov 30, 2009 at 5:44 PM, <eroman@chromium.org> wrote:

> ok, lgtm.
>
> please add a comment explaining why !auth_response.headers, since this is
> not
> obvious.
>
>
> http://codereview.chromium.org/452017
>

Powered by Google App Engine
This is Rietveld 408576698