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

Issue 1820233002: [WebSocket] Incoming close frame should not overtake data frames (Closed)

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

Description

[WebSocket] Incoming close frame should not overtake data frames Incoming data frames are throttled by quota maintained by both the browser side and the renderer side websocket implementations. On the other hand, when a CLOSE frame arrives, it is notified immediately to the renderer side. As a result, a CLOSE frame overtakes data frames, which is bad. BUG=596761 Committed: https://crrev.com/d2727dfa142f063944cd57e1de9900609ff2ec32 Cr-Commit-Position: refs/heads/master@{#386337}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -107 lines) Patch
M content/browser/renderer_host/websocket_host.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M net/websockets/websocket_channel.h View 1 2 4 chunks +18 lines, -6 lines 0 comments Download
M net/websockets/websocket_channel.cc View 1 2 3 8 chunks +97 lines, -71 lines 0 comments Download
M net/websockets/websocket_channel_test.cc View 1 2 3 4 22 chunks +86 lines, -28 lines 0 comments Download

Messages

Total messages: 32 (15 generated)
yhirano
4 years, 9 months ago (2016-03-22 09:27:11 UTC) #6
yhirano
ping
4 years, 8 months ago (2016-03-28 12:54:47 UTC) #7
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1820233002/diff/100001/net/websockets/websocket_channel.cc File net/websockets/websocket_channel.cc (right): https://codereview.chromium.org/1820233002/diff/100001/net/websockets/websocket_channel.cc#newcode532 net/websockets/websocket_channel.cc:532: return CHANNEL_ALIVE; CHANNEL_DELETED here and insert "return CHANNEL_ALIVE" between ...
4 years, 8 months ago (2016-03-29 11:18:56 UTC) #8
yhirano
https://codereview.chromium.org/1820233002/diff/100001/net/websockets/websocket_channel.cc File net/websockets/websocket_channel.cc (right): https://codereview.chromium.org/1820233002/diff/100001/net/websockets/websocket_channel.cc#newcode532 net/websockets/websocket_channel.cc:532: return CHANNEL_ALIVE; On 2016/03/29 11:18:56, tyoshino wrote: > CHANNEL_DELETED ...
4 years, 8 months ago (2016-03-29 12:26:42 UTC) #9
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/1820233002/diff/120001/net/websockets/websocket_channel.cc File net/websockets/websocket_channel.cc (right): https://codereview.chromium.org/1820233002/diff/120001/net/websockets/websocket_channel.cc#newcode504 net/websockets/websocket_channel.cc:504: return CHANNEL_ALIVE; CHANNEL_DELETED? or just return the result ...
4 years, 8 months ago (2016-04-05 06:13:56 UTC) #10
yhirano
https://codereview.chromium.org/1820233002/diff/120001/net/websockets/websocket_channel.cc File net/websockets/websocket_channel.cc (right): https://codereview.chromium.org/1820233002/diff/120001/net/websockets/websocket_channel.cc#newcode504 net/websockets/websocket_channel.cc:504: return CHANNEL_ALIVE; On 2016/04/05 06:13:56, tyoshino wrote: > CHANNEL_DELETED? ...
4 years, 8 months ago (2016-04-06 01:47:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820233002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820233002/160001
4 years, 8 months ago (2016-04-06 06:39:48 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/165075)
4 years, 8 months ago (2016-04-06 06:50:28 UTC) #16
yhirano
+kinuko@ for content/ changes.
4 years, 8 months ago (2016-04-06 07:46:33 UTC) #18
kinuko
On 2016/04/06 07:46:33, yhirano wrote: > +kinuko@ for content/ changes. lgtm
4 years, 8 months ago (2016-04-06 10:32:49 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820233002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820233002/160001
4 years, 8 months ago (2016-04-06 14:29:02 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/165205)
4 years, 8 months ago (2016-04-06 14:38:32 UTC) #23
yhirano
+rockot@ for mojo/ changes.
4 years, 8 months ago (2016-04-06 14:45:25 UTC) #25
yhirano
On 2016/04/06 14:45:25, yhirano wrote: > +rockot@ for mojo/ changes. mojo/services/network is deleted, so I ...
4 years, 8 months ago (2016-04-11 03:10:28 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820233002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820233002/180001
4 years, 8 months ago (2016-04-11 03:10:47 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 8 months ago (2016-04-11 05:33:01 UTC) #30
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 05:34:11 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d2727dfa142f063944cd57e1de9900609ff2ec32
Cr-Commit-Position: refs/heads/master@{#386337}

Powered by Google App Engine
This is Rietveld 408576698