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

Issue 2446443002: Fix net::SdchSourceStream Passthrough bug (Closed)

Created:
4 years, 2 months ago by xunjieli
Modified:
4 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix net::SdchSourceStream Passthrough bug net::SdchSourceStream handles passthrough incorrectly. (1) When |buffered_output_| is empty, it shouldn't break early. (2) It should write the number of bytes copied into |bytes_out|. This CL also adds a regression test. R=rdsmith@chromium.org BUG=474859 Committed: https://crrev.com/d49eb584a73cb1d96cf1efb05ff839376340cfe1 Cr-Commit-Position: refs/heads/master@{#427345}

Patch Set 1 #

Total comments: 2

Patch Set 2 : mistake made during splitting off change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -7 lines) Patch
M net/filter/sdch_source_stream.cc View 1 1 chunk +8 lines, -7 lines 0 comments Download
M net/filter/sdch_source_stream_unittest.cc View 1 chunk +52 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (12 generated)
xunjieli
Hi Randy, I made some really stupid mistakes in my last CL. This should fix ...
4 years, 2 months ago (2016-10-21 21:25:35 UTC) #3
xunjieli
On 2016/10/21 21:25:35, xunjieli wrote: > Hi Randy, I made some really stupid mistakes in ...
4 years, 2 months ago (2016-10-21 21:26:55 UTC) #5
Randy Smith (Not in Mondays)
https://codereview.chromium.org/2446443002/diff/1/net/filter/sdch_source_stream.cc File net/filter/sdch_source_stream.cc (right): https://codereview.chromium.org/2446443002/diff/1/net/filter/sdch_source_stream.cc#newcode145 net/filter/sdch_source_stream.cc:145: if (buffered_output_.empty()) { Isn't this inverted? Don't you want ...
4 years, 2 months ago (2016-10-23 01:32:07 UTC) #8
xunjieli
https://codereview.chromium.org/2446443002/diff/1/net/filter/sdch_source_stream.cc File net/filter/sdch_source_stream.cc (right): https://codereview.chromium.org/2446443002/diff/1/net/filter/sdch_source_stream.cc#newcode145 net/filter/sdch_source_stream.cc:145: if (buffered_output_.empty()) { On 2016/10/23 01:32:07, Randy Smith - ...
4 years, 1 month ago (2016-10-24 11:58:58 UTC) #11
Randy Smith (Not in Mondays)
lgtm
4 years, 1 month ago (2016-10-25 12:30:58 UTC) #14
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/2446443002/20001
4 years, 1 month ago (2016-10-25 13:34:34 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-25 14:25:39 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 14:27:18 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d49eb584a73cb1d96cf1efb05ff839376340cfe1
Cr-Commit-Position: refs/heads/master@{#427345}

Powered by Google App Engine
This is Rietveld 408576698