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

Issue 10255002: Fix WebSocket header construction for large frames. (Closed)

Created:
8 years, 8 months ago by Anders Johnsen
Modified:
8 years, 8 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org, Søren Gjesse
Visibility:
Public.

Description

Fix WebSocket header construction for large frames. The spec uses 8 bytes for length if it's larger then 65535. This was only done when appending data to the header, not when setting the header size. BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=7062

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M runtime/bin/websocket_impl.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Anders Johnsen
8 years, 8 months ago (2012-04-27 09:05:06 UTC) #1
Mads Ager (google)
8 years, 8 months ago (2012-04-27 09:21:01 UTC) #2
LGTM, we should consider introducing named constants though.

Powered by Google App Engine
This is Rietveld 408576698