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

Issue 171883002: Clear reserved flags on synthetic continuations. (Closed)

Created:
6 years, 10 months ago by Adam Rice
Modified:
6 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Clear reserved flags on synthetic continuations. Previously when WebSocketBasicStream split a frame that arrived in several chunks, it would copy the reserved bits from the first frame onto all subsequent frames. However, the permessage-deflate extension requires that the RSV1 bit only be set on the first frame of the message. For compatability with permessage-deflate, clear the reserved bits on second and subsequent frames when splitting a frame. BUG=343507 TEST=net_unittests --gtest_filter=WebSocket* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252000

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -2 lines) Patch
M net/websockets/websocket_basic_stream.cc View 1 chunk +9 lines, -2 lines 2 comments Download
M net/websockets/websocket_basic_stream_test.cc View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Adam Rice
6 years, 10 months ago (2014-02-19 03:04:48 UTC) #1
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/171883002/diff/1/net/websockets/websocket_basic_stream.cc File net/websockets/websocket_basic_stream.cc (right): https://codereview.chromium.org/171883002/diff/1/net/websockets/websocket_basic_stream.cc#newcode385 net/websockets/websocket_basic_stream.cc:385: if (!is_final_chunk && WebSocketFrameHeader::IsKnownDataOpCode(opcode)) { addition of !is_final_chunk ...
6 years, 10 months ago (2014-02-19 05:19:19 UTC) #2
Adam Rice
https://codereview.chromium.org/171883002/diff/1/net/websockets/websocket_basic_stream.cc File net/websockets/websocket_basic_stream.cc (right): https://codereview.chromium.org/171883002/diff/1/net/websockets/websocket_basic_stream.cc#newcode385 net/websockets/websocket_basic_stream.cc:385: if (!is_final_chunk && WebSocketFrameHeader::IsKnownDataOpCode(opcode)) { On 2014/02/19 05:19:19, tyoshino ...
6 years, 10 months ago (2014-02-19 05:26:13 UTC) #3
Adam Rice
The CQ bit was checked by ricea@chromium.org
6 years, 10 months ago (2014-02-19 05:26:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ricea@chromium.org/171883002/1
6 years, 10 months ago (2014-02-19 05:26:30 UTC) #5
commit-bot: I haz the power
6 years, 10 months ago (2014-02-19 08:27:49 UTC) #6
Message was sent while issue was closed.
Change committed as 252000

Powered by Google App Engine
This is Rietveld 408576698