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

Issue 2644063003: HTTP Cache Age calculation mechanism changed with RFC 7234 (Closed)

Created:
3 years, 11 months ago by billyjay
Modified:
3 years, 11 months ago
Reviewers:
jkarlin, gavinp
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

HTTP Cache Age calculation mechanism changed with RFC 7234 Current cached resource age calculation implementation in chromium references and uses RFC 2616 which has been obsoleted by RFC 7234. The new spec has minor modification with respect to age calculation ([1] & [2]) Old spec: https://tools.ietf.org/html/rfc2616#section-13.2.3 New spec: http://httpwg.org/specs/rfc7234.html#rfc.section.4.2.3 BUG=682606 Review-Url: https://codereview.chromium.org/2644063003 Cr-Commit-Position: refs/heads/master@{#445964} Committed: https://chromium.googlesource.com/chromium/src/+/c767da1904a215d821f211fc01cd5a1da0096858

Patch Set 1 #

Total comments: 4

Patch Set 2 : HTTP Cache Age calculation mechanism changed with RFC 7234 #

Total comments: 4

Patch Set 3 : HTTP Cache Age calculation mechanism changed with RFC 7234 #

Patch Set 4 : HTTP Cache Age calculation mechanism changed with RFC 7234 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -25 lines) Patch
M net/http/http_response_headers.cc View 1 2 chunks +42 lines, -25 lines 0 comments Download
M net/http/http_response_headers_unittest.cc View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (23 generated)
billyjay
PTAL.
3 years, 11 months ago (2017-01-19 10:15:04 UTC) #2
mmenke
[+jkarlin, +gavinp]: Could one of you review this? Tiny CL, but I'm not at all ...
3 years, 11 months ago (2017-01-19 16:11:18 UTC) #4
jkarlin
On 2017/01/19 16:11:18, mmenke wrote: > [+jkarlin, +gavinp]: Could one of you review this? Tiny ...
3 years, 11 months ago (2017-01-19 16:26:59 UTC) #7
mmenke
Also, could you update the bug= line to be "bug=682606"?
3 years, 11 months ago (2017-01-19 16:43:05 UTC) #8
billyjay
PTAL. Hope the tests are sufficient https://codereview.chromium.org/2644063003/diff/1/net/http/http_response_headers.cc File net/http/http_response_headers.cc (right): https://codereview.chromium.org/2644063003/diff/1/net/http/http_response_headers.cc#newcode1131 net/http/http_response_headers.cc:1131: // On 2017/01/19 ...
3 years, 11 months ago (2017-01-20 19:23:26 UTC) #11
jkarlin
https://codereview.chromium.org/2644063003/diff/20001/net/http/http_response_headers_unittest.cc File net/http/http_response_headers_unittest.cc (right): https://codereview.chromium.org/2644063003/diff/20001/net/http/http_response_headers_unittest.cc#newcode2239 net/http/http_response_headers_unittest.cc:2239: base::Time::FromString(test.request_time, &request_time); You'll need to check the return values ...
3 years, 11 months ago (2017-01-23 14:09:42 UTC) #16
billyjay
PTAL. https://codereview.chromium.org/2644063003/diff/20001/net/http/http_response_headers_unittest.cc File net/http/http_response_headers_unittest.cc (right): https://codereview.chromium.org/2644063003/diff/20001/net/http/http_response_headers_unittest.cc#newcode2239 net/http/http_response_headers_unittest.cc:2239: base::Time::FromString(test.request_time, &request_time); On 2017/01/23 14:09:41, jkarlin wrote: > ...
3 years, 11 months ago (2017-01-24 06:38:31 UTC) #19
jkarlin
lgtm
3 years, 11 months ago (2017-01-24 14:25:20 UTC) #24
jkarlin
You'll need an lgtm from a net owner as well. gavinp@ PTAL
3 years, 11 months ago (2017-01-24 14:25:58 UTC) #25
gavinp
lgtm, ty
3 years, 11 months ago (2017-01-24 14:46:21 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2644063003/60001
3 years, 11 months ago (2017-01-25 05:47:36 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2644063003/60001
3 years, 11 months ago (2017-01-25 05:48:20 UTC) #33
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 06:03:29 UTC) #36
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c767da1904a215d821f211fc01cd...

Powered by Google App Engine
This is Rietveld 408576698