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

Issue 2937113002: Fix QuicHttpStream reporting negative sent bytes. (Closed)

Created:
3 years, 6 months ago by mmenke
Modified:
3 years, 6 months ago
Reviewers:
Zhongyi Shi
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org, Ryan Hamilton
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix QuicHttpStream reporting negative sent bytes. It was treating error codes as number of header bytes sent. This may have affected metrics slightly, not sure if it had any had any web-visible or devtools-visible effects. BUG=731819 Review-Url: https://codereview.chromium.org/2937113002 Cr-Commit-Position: refs/heads/master@{#479749} Committed: https://chromium.googlesource.com/chromium/src/+/ffff364f06b3fa261dcf249ded47675c2d0d48a3

Patch Set 1 #

Patch Set 2 : Oops #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M net/quic/chromium/quic_http_stream.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M net/quic/chromium/quic_http_stream_test.cc View 1 1 chunk +3 lines, -0 lines 3 comments Download

Messages

Total messages: 17 (12 generated)
mmenke
https://codereview.chromium.org/2937113002/diff/20001/net/quic/chromium/quic_http_stream_test.cc File net/quic/chromium/quic_http_stream_test.cc (right): https://codereview.chromium.org/2937113002/diff/20001/net/quic/chromium/quic_http_stream_test.cc#newcode1534 net/quic/chromium/quic_http_stream_test.cc:1534: EXPECT_LE(0, stream_->GetTotalSentBytes()); This could be EQ, since the writes ...
3 years, 6 months ago (2017-06-14 21:20:41 UTC) #6
mmenke
Oops, looks like Ryan is out of town. [+Zhongyi]: PTAL
3 years, 6 months ago (2017-06-15 15:33:32 UTC) #10
Zhongyi Shi
lgtm Thanks for fixing this! https://codereview.chromium.org/2937113002/diff/20001/net/quic/chromium/quic_http_stream_test.cc File net/quic/chromium/quic_http_stream_test.cc (right): https://codereview.chromium.org/2937113002/diff/20001/net/quic/chromium/quic_http_stream_test.cc#newcode1534 net/quic/chromium/quic_http_stream_test.cc:1534: EXPECT_LE(0, stream_->GetTotalSentBytes()); On 2017/06/14 ...
3 years, 6 months ago (2017-06-15 17:32:20 UTC) #11
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/2937113002/20001
3 years, 6 months ago (2017-06-15 17:33:33 UTC) #13
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 17:37:43 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ffff364f06b3fa261dcf249ded47...

Powered by Google App Engine
This is Rietveld 408576698