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

Issue 1914663002: Increase read buffer size for SPDY upload (Closed)

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

Description

Increase read buffer size for SPDY upload The internal read buffer for upload is 14520 for QUIC, 2852 for SPDY, and 16384 for normal stream. SPDY is too small compared to normal stream and QUIC. This CL increases the read buffer to 16384 so it is comparable to the other two implementations. This will make it easier for net embedders to configure uploads to work well across different transports. This CL additionally updates flow control tests so they take into account the new buffer size when zeroing out window size. BUG=606784 Committed: https://crrev.com/179a6e73881175ac0b7b977c12a9c376c254ff4f Cr-Commit-Position: refs/heads/master@{#389856}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Address Bence's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -106 lines) Patch
M net/spdy/spdy_http_stream.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_http_stream.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 13 chunks +229 lines, -103 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
xunjieli
Bence, PTAL. Thank you!
4 years, 8 months ago (2016-04-26 14:51:58 UTC) #8
Bence
LGTM with nit. https://codereview.chromium.org/1914663002/diff/80001/net/spdy/spdy_network_transaction_unittest.cc File net/spdy/spdy_network_transaction_unittest.cc (right): https://codereview.chromium.org/1914663002/diff/80001/net/spdy/spdy_network_transaction_unittest.cc#newcode62 net/spdy/spdy_network_transaction_unittest.cc:62: // This currently 16kB. I think ...
4 years, 8 months ago (2016-04-26 16:59:23 UTC) #11
xunjieli
Thanks a lot for the review, Bence! https://codereview.chromium.org/1914663002/diff/80001/net/spdy/spdy_network_transaction_unittest.cc File net/spdy/spdy_network_transaction_unittest.cc (right): https://codereview.chromium.org/1914663002/diff/80001/net/spdy/spdy_network_transaction_unittest.cc#newcode62 net/spdy/spdy_network_transaction_unittest.cc:62: // This ...
4 years, 8 months ago (2016-04-26 17:03:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914663002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914663002/100001
4 years, 8 months ago (2016-04-26 17:04:04 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/60416)
4 years, 8 months ago (2016-04-26 18:48:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914663002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914663002/100001
4 years, 8 months ago (2016-04-26 18:52:14 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 8 months ago (2016-04-26 19:47:58 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 19:50:19 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/179a6e73881175ac0b7b977c12a9c376c254ff4f
Cr-Commit-Position: refs/heads/master@{#389856}

Powered by Google App Engine
This is Rietveld 408576698