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

Issue 1871383005: Fix parsing of max-age in SdchManager. (Closed)

Created:
4 years, 8 months ago by eroman
Modified:
4 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix parsing of max-age in SdchManager. BUG=596541, 596523 Committed: https://crrev.com/38ab932422f88d294a7869ed512c41d6bfec3236 Cr-Commit-Position: refs/heads/master@{#386766}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use expired time on failure #

Total comments: 2

Patch Set 3 : improve comment with rdsmith's suggestion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M net/base/sdch_manager.cc View 1 1 chunk +13 lines, -4 lines 0 comments Download
M net/base/sdch_manager_unittest.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
eroman
https://codereview.chromium.org/1871383005/diff/1/net/base/sdch_manager.cc File net/base/sdch_manager.cc (right): https://codereview.chromium.org/1871383005/diff/1/net/base/sdch_manager.cc#newcode379 net/base/sdch_manager.cc:379: // max-age must be a non-negative number. If it ...
4 years, 8 months ago (2016-04-11 19:36:37 UTC) #2
Randy Smith (Not in Mondays)
On 2016/04/11 19:36:37, eroman wrote: > https://codereview.chromium.org/1871383005/diff/1/net/base/sdch_manager.cc > File net/base/sdch_manager.cc (right): > > https://codereview.chromium.org/1871383005/diff/1/net/base/sdch_manager.cc#newcode379 > ...
4 years, 8 months ago (2016-04-12 17:17:15 UTC) #4
eroman
Thanks Randy! I see now that the spec was mentioned in net/sdch/README.md, but didn't think ...
4 years, 8 months ago (2016-04-12 17:44:12 UTC) #5
Randy Smith (Not in Mondays)
On 2016/04/12 17:44:12, eroman wrote: > Thanks Randy! > > I see now that the ...
4 years, 8 months ago (2016-04-12 17:56:02 UTC) #6
eroman
(1) https://chromium.googlesource.com/chromium/src/+/master/net/base/parse_number.h#103 (2) From the comment in sdch_manger.cc: // max-age must be a non-negative number. ...
4 years, 8 months ago (2016-04-12 18:00:42 UTC) #7
Randy Smith (Not in Mondays)
Thanks for your patience. LGTM. https://codereview.chromium.org/1871383005/diff/20001/net/base/sdch_manager_unittest.cc File net/base/sdch_manager_unittest.cc (right): https://codereview.chromium.org/1871383005/diff/20001/net/base/sdch_manager_unittest.cc#newcode561 net/base/sdch_manager_unittest.cc:561: // as a consequence ...
4 years, 8 months ago (2016-04-12 18:13:34 UTC) #9
eroman
https://codereview.chromium.org/1871383005/diff/20001/net/base/sdch_manager_unittest.cc File net/base/sdch_manager_unittest.cc (right): https://codereview.chromium.org/1871383005/diff/20001/net/base/sdch_manager_unittest.cc#newcode561 net/base/sdch_manager_unittest.cc:561: // as a consequence of crbug.com/602691. On 2016/04/12 18:13:33, ...
4 years, 8 months ago (2016-04-12 18:26:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1871383005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1871383005/40001
4 years, 8 months ago (2016-04-12 18:27:52 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-12 19:39:04 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 19:41:00 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/38ab932422f88d294a7869ed512c41d6bfec3236
Cr-Commit-Position: refs/heads/master@{#386766}

Powered by Google App Engine
This is Rietveld 408576698