Index: sdk/lib/io/secure_socket.dart |
diff --git a/sdk/lib/io/secure_socket.dart b/sdk/lib/io/secure_socket.dart |
index 4ed4da43e013afa5406be0d8fd28dc19d8439ec4..08912cc8c199858274ba26d53904a25aa9012e48 100644 |
--- a/sdk/lib/io/secure_socket.dart |
+++ b/sdk/lib/io/secure_socket.dart |
@@ -424,6 +424,7 @@ class _RawSecureSocket extends Stream<RawSocketEvent> |
bool this.sendClientCertificate, |
bool this.onBadCertificate(X509Certificate certificate)) { |
_controller = new StreamController<RawSocketEvent>( |
+ sync: true, |
onListen: _onSubscriptionStateChange, |
onPause: _onPauseStateChange, |
onResume: _onPauseStateChange, |