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

Unified Diff: runtime/bin/websocket_impl.dart

Issue 10905214: Fix two issues in the websocket. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « runtime/bin/socket_stream_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/websocket_impl.dart
diff --git a/runtime/bin/websocket_impl.dart b/runtime/bin/websocket_impl.dart
index 32ba0c20591fbd9c096fd9c9534b86b5d59d6e0c..49397aeb3bc74acdd4b9adf4bdaea2a0af8e05a2 100644
--- a/runtime/bin/websocket_impl.dart
+++ b/runtime/bin/websocket_impl.dart
@@ -214,7 +214,7 @@ class _WebSocketProtocolProcessor {
index++;
}
} catch (e) {
- if (onClosed !== null) onClosed(1006, "Protocol error");
+ if (onClosed !== null) onClosed(1002, "Protocol error");
_state = FAILURE;
}
}
« no previous file with comments | « runtime/bin/socket_stream_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698