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

Issue 2909653002: SpdySession: Combine three frames into a single packet. (Closed)

Created:
3 years, 7 months ago by Bence
Modified:
3 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, bnc+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

SpdySession: Combine three frames into a single packet. Combine HTTP/2 connection preface, initial SETTINGS frame, and optional initial WINDOW_UPDATE frame into a single SpdySerializedFrame so that it can be send on the wire in a single packet. Also combine said frames in tests. (Because of the way expected and actual write data are compared, tests expecting individual packets (before this change) pass with the packets sent separately or combined, but tests expecting combined packets (after this change) only pass when packets are actually combined.) BUG=705551 Review-Url: https://codereview.chromium.org/2909653002 Cr-Commit-Position: refs/heads/master@{#477745} Committed: https://chromium.googlesource.com/chromium/src/+/8abf64aff97080b772d924ebf79d4c74d14eea0d

Patch Set 1 #

Total comments: 2

Patch Set 2 : Simplify send_window_update logic. #

Patch Set 3 : Rebase. #

Patch Set 4 : Combine frames in tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -45 lines) Patch
M net/spdy/chromium/spdy_network_transaction_unittest.cc View 1 2 3 3 chunks +19 lines, -10 lines 0 comments Download
M net/spdy/chromium/spdy_session.h View 1 chunk +0 lines, -3 lines 0 comments Download
M net/spdy/chromium/spdy_session.cc View 1 2 1 chunk +57 lines, -29 lines 0 comments Download
M net/spdy/chromium/spdy_session_unittest.cc View 1 2 3 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
Bence
Zhongyi: PTAL. Thank you!
3 years, 7 months ago (2017-05-26 18:28:44 UTC) #7
Zhongyi Shi
lgtm modulo nits Sorry about the delay, I was OOO last Friday. https://codereview.chromium.org/2909653002/diff/1/net/spdy/chromium/spdy_session.cc File net/spdy/chromium/spdy_session.cc ...
3 years, 6 months ago (2017-05-30 23:10:50 UTC) #8
Bence
Zhongyi: PTAL. Thanks. https://codereview.chromium.org/2909653002/diff/1/net/spdy/chromium/spdy_session.cc File net/spdy/chromium/spdy_session.cc (right): https://codereview.chromium.org/2909653002/diff/1/net/spdy/chromium/spdy_session.cc#newcode2165 net/spdy/chromium/spdy_session.cc:2165: if (send_window_update) { On 2017/05/30 23:10:49, ...
3 years, 6 months ago (2017-06-05 17:19:03 UTC) #13
Bence
Ryan: PTAL for a second opinion please.
3 years, 6 months ago (2017-06-07 00:19:06 UTC) #15
Ryan Hamilton
"Note that nothing changes on the unencrypted layer, so there is no need to update ...
3 years, 6 months ago (2017-06-07 13:52:42 UTC) #16
Bence
Ryan: PTAL. Thank you for catching this.
3 years, 6 months ago (2017-06-07 18:07:57 UTC) #20
Ryan Hamilton
lgtm nice!
3 years, 6 months ago (2017-06-07 18:10:34 UTC) #21
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/2909653002/60001
3 years, 6 months ago (2017-06-07 20:12:38 UTC) #26
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 20:19:08 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8abf64aff97080b772d924ebf79d...

Powered by Google App Engine
This is Rietveld 408576698