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

Unified Diff: sdk/lib/io/websocket_impl.dart

Issue 1583933007: Fix Websocket compression tests for Client side. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/websocket_impl.dart
diff --git a/sdk/lib/io/websocket_impl.dart b/sdk/lib/io/websocket_impl.dart
index 297c25b31aece2954ee78c0f6cc14e5bf315f8e1..6189c46faaafd568e8e29401ee10704c30c23a7a 100644
--- a/sdk/lib/io/websocket_impl.dart
+++ b/sdk/lib/io/websocket_impl.dart
@@ -604,6 +604,11 @@ class _WebSocketPerMessageDeflate {
result.addAll(out);
}
+ if (!serverSide && clientNoContextTakeover) {
+ encoder.end();
+ encoder = null;
Søren Gjesse 2016/01/15 08:08:38 Shouldn't there be similar logic in the other dire
+ }
+
if (result.length > 4) {
result = result.sublist(0, result.length - 4);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698