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

Issue 177403002: net::WebSocketChannel should reject reserved bits (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

net::WebSocketChannel should reject reserved bits Check the RSV1, RSV2 and RSV3 bits in WebSocketChannel::HandleFrame and fail the connection if they are set. Document the requirement for extensions to clear the bits when validly set in WebSocketStream. BUG=346211 TEST=net_unittests, compressed-control-frame.html layout test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253423

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M net/websockets/websocket_channel.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M net/websockets/websocket_channel_test.cc View 1 chunk +24 lines, -0 lines 0 comments Download
M net/websockets/websocket_stream.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Adam Rice
6 years, 10 months ago (2014-02-24 09:29:02 UTC) #1
yhirano
lgtm https://codereview.chromium.org/177403002/diff/1/net/websockets/websocket_stream.h File net/websockets/websocket_stream.h (right): https://codereview.chromium.org/177403002/diff/1/net/websockets/websocket_stream.h#newcode138 net/websockets/websocket_stream.h:138: // Extensions which use reserved header bits should ...
6 years, 10 months ago (2014-02-25 07:16:00 UTC) #2
Adam Rice
+tyoshino for OWNERS
6 years, 10 months ago (2014-02-25 07:35:39 UTC) #3
tyoshino (SeeGerritForStatus)
lgtm
6 years, 10 months ago (2014-02-25 07:41:42 UTC) #4
Adam Rice
The CQ bit was checked by ricea@chromium.org
6 years, 10 months ago (2014-02-25 08:07:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ricea@chromium.org/177403002/40001
6 years, 10 months ago (2014-02-25 08:08:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ricea@chromium.org/177403002/40001
6 years, 10 months ago (2014-02-25 09:17:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ricea@chromium.org/177403002/40001
6 years, 10 months ago (2014-02-25 09:37:22 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-25 11:09:19 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 10 months ago (2014-02-25 11:09:19 UTC) #10
Adam Rice
The CQ bit was checked by ricea@chromium.org
6 years, 10 months ago (2014-02-26 07:15:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ricea@chromium.org/177403002/40001
6 years, 10 months ago (2014-02-26 07:21:45 UTC) #12
commit-bot: I haz the power
6 years, 10 months ago (2014-02-26 13:11:40 UTC) #13
Message was sent while issue was closed.
Change committed as 253423

Powered by Google App Engine
This is Rietveld 408576698