| Index: sdk/lib/io/secure_socket.dart
|
| diff --git a/sdk/lib/io/secure_socket.dart b/sdk/lib/io/secure_socket.dart
|
| index a76d36b90fb9477dc7c9b25de4b42c82e5136f5d..bff54c8424649bf09906e5a4f658c0ee88d79558 100644
|
| --- a/sdk/lib/io/secure_socket.dart
|
| +++ b/sdk/lib/io/secure_socket.dart
|
| @@ -263,7 +263,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;
|
|
|