| Index: sdk/lib/io/secure_socket.dart
|
| diff --git a/sdk/lib/io/secure_socket.dart b/sdk/lib/io/secure_socket.dart
|
| index 197e87d4a889cce534049a779cf8952b6fd14381..422fc37c613a622587552c3910890f97e614e36e 100644
|
| --- a/sdk/lib/io/secure_socket.dart
|
| +++ b/sdk/lib/io/secure_socket.dart
|
| @@ -261,7 +261,7 @@ class _RawSecureSocket extends Stream<RawSocketEvent>
|
| if (socket == null) {
|
| futureSocket = RawSocket.connect(host, requestedPort);
|
| } else {
|
| - futureSocket = new Future.immediate(socket);
|
| + futureSocket = new Future.value(socket);
|
| }
|
| futureSocket.then((rawSocket) {
|
| rawSocket.writeEventsEnabled = false;
|
|
|