Index: sdk/lib/io/secure_socket.dart |
diff --git a/sdk/lib/io/secure_socket.dart b/sdk/lib/io/secure_socket.dart |
index 9b4d4c67be48fccbe497b407607970339f2b0f72..f75f7a7e2a6601581f8367c505ea642d27f4c1d5 100644 |
--- a/sdk/lib/io/secure_socket.dart |
+++ b/sdk/lib/io/secure_socket.dart |
@@ -461,7 +461,7 @@ class _RawSecureSocket extends Stream<RawSocketEvent> |
_socketSubscription.onDone(_doneHandler); |
} |
_connectPending = true; |
- _secureFilter.connect(address.host, |
+ _secureFilter.connect(rawSocket.address.host, |
port, |
is_server, |
certificateName, |