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

Issue 2015263002: Simple Cache: avoid extraneous stream 0 (http header) writes. (Closed)

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

Description

Simple Cache: avoid extraneous stream 0 (http header) writes. These writes were not only wasteful, but they could cause corruption if the existing EOF record didn't have a key SHA256; the new key SHA256 would overwrite the existing one corrupting the entry. BUG=615440 R=juliatuttle@chromium.org,rdsmith@chromium.org Committed: https://crrev.com/6b66971b761a15a67982bef692619a96f306150d Cr-Commit-Position: refs/heads/master@{#396533}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -18 lines) Patch
M net/disk_cache/entry_unittest.cc View 1 chunk +27 lines, -0 lines 0 comments Download
M net/disk_cache/simple/simple_synchronous_entry.cc View 2 chunks +20 lines, -18 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
gavinp
juliatuttle: PTAL. This will need to be merged into m52 as well. rdsmith: FYI.
4 years, 6 months ago (2016-05-27 17:04:30 UTC) #1
Randy Smith (Not in Mondays)
So this is a behavior change, from unilaterally writing the HTTP headers to only writing ...
4 years, 6 months ago (2016-05-27 17:35:52 UTC) #2
Randy Smith (Not in Mondays)
On 2016/05/27 17:35:52, Randy Smith - Not in Fridays wrote: > So this is a ...
4 years, 6 months ago (2016-05-27 17:40:04 UTC) #3
Randy Smith (Not in Mondays)
Offline conversation (and more closely reading the CL description :-}) confirms the behavior change is ...
4 years, 6 months ago (2016-05-27 17:47:12 UTC) #4
gavinp
On 2016/05/27 17:40:04, Randy Smith - Not in Fridays wrote: > On 2016/05/27 17:35:52, Randy ...
4 years, 6 months ago (2016-05-27 17:47:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2015263002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2015263002/1
4 years, 6 months ago (2016-05-27 17:49:04 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-05-27 19:33:16 UTC) #8
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 19:34:22 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6b66971b761a15a67982bef692619a96f306150d
Cr-Commit-Position: refs/heads/master@{#396533}

Powered by Google App Engine
This is Rietveld 408576698