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

Unified Diff: lib/src/web_socket.dart

Issue 853353004: http_parser: update unittest dependency, urls in pubspec and codereview (Closed) Base URL: https://github.com/dart-lang/http_parser.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « codereview.settings ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/web_socket.dart
diff --git a/lib/src/web_socket.dart b/lib/src/web_socket.dart
index 77c9d2b873a41e2c6875f866c95ba748ceae7acf..968c70b0e13dd0606b2e75309425c41b84fc5cf6 100644
--- a/lib/src/web_socket.dart
+++ b/lib/src/web_socket.dart
@@ -592,7 +592,6 @@ class _WebSocketOutgoingTransformer implements StreamTransformer, EventSink {
header[index++] = 0x80 | opcode;
// Determine size and position of length field.
int lengthBytes = 1;
- int firstLengthByte = 1;
if (dataLength > 65535) {
header[index++] = 127;
lengthBytes = 8;
« no previous file with comments | « codereview.settings ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698