| Index: sdk/lib/io/secure_socket.dart
|
| diff --git a/sdk/lib/io/secure_socket.dart b/sdk/lib/io/secure_socket.dart
|
| index 24516cdead15478c505f278952d9e833d35d92f3..26bbf123438119b6e6362f90b92ea44faa046632 100644
|
| --- a/sdk/lib/io/secure_socket.dart
|
| +++ b/sdk/lib/io/secure_socket.dart
|
| @@ -347,8 +347,9 @@ class _RawSecureSocket extends Stream<RawSocketEvent>
|
| futureSocket = new Future.value(socket);
|
| }
|
| futureSocket.then((rawSocket) {
|
| - rawSocket.writeEventsEnabled = false;
|
| _socket = rawSocket;
|
| + _socket.readEventsEnabled = true;
|
| + _socket.writeEventsEnabled = false;
|
| if (_socketSubscription == null) {
|
| // If a current subscription is provided use this otherwise
|
| // create a new one.
|
|
|