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

Issue 14352006: Fix HTTPCacheTransaction conditionalization header check. (Closed)

Created:
7 years, 8 months ago by digit1
Modified:
7 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, eroman
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix HTTPCacheTransaction conditionalization header check. This fixes a minor bug that went undetected because the HTTPCache unit tests used \n as the line terminator instead of \r\n. + Fix the unit tests to consistently use \r\n as a line terminator instead of \n. + Remove broken ConditionalizedRequestUpdatesCache11 unit test, per Ricardo's suggestion. For more details, see the bug entry. BUG=231884 R=rvargas@chromium.org,mmenke@chromium.org,eroman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195699

Patch Set 1 #

Patch Set 2 : Fix HttpCache.StopCachingTruncatedEntry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -61 lines) Patch
M net/http/http_cache_transaction.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M net/http/http_cache_unittest.cc View 1 29 chunks +39 lines, -60 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
digit1
7 years, 8 months ago (2013-04-18 13:23:14 UTC) #1
gavinp
-eromann +eroman
7 years, 8 months ago (2013-04-18 13:29:26 UTC) #2
digit1
Wow, these failures are unexpected. I'm looking at them
7 years, 8 months ago (2013-04-18 14:25:55 UTC) #3
digit1
The failures came from calling HttpRequestHeaders::AddHeaderFromString() with a \r\n line terminator, while the function expects ...
7 years, 8 months ago (2013-04-22 09:42:48 UTC) #4
eroman
Thanks, I'll defer this review to rvargas.
7 years, 8 months ago (2013-04-22 20:07:05 UTC) #5
mmenke
On 2013/04/22 20:07:05, eroman wrote: > Thanks, I'll defer this review to rvargas. Likewise, I ...
7 years, 8 months ago (2013-04-22 20:11:30 UTC) #6
rvargas (doing something else)
LGTM. Thanks.
7 years, 8 months ago (2013-04-22 21:28:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/digit@chromium.org/14352006/7001
7 years, 8 months ago (2013-04-22 22:38:25 UTC) #8
commit-bot: I haz the power
7 years, 8 months ago (2013-04-23 03:06:31 UTC) #9
Message was sent while issue was closed.
Change committed as 195699

Powered by Google App Engine
This is Rietveld 408576698