Index: dart/sdk/lib/io/secure_server_socket.dart |
diff --git a/dart/sdk/lib/io/secure_server_socket.dart b/dart/sdk/lib/io/secure_server_socket.dart |
index 1a0bf6efbb7e478c8e93a681a547cc14c2a74769..2a7341811aedfb6365fba92a260db4b93570faeb 100644 |
--- a/dart/sdk/lib/io/secure_server_socket.dart |
+++ b/dart/sdk/lib/io/secure_server_socket.dart |
@@ -67,7 +67,8 @@ class SecureServerSocket extends Stream<SecureSocket> { |
bool v6Only: false, |
bool requestClientCertificate: false, |
bool requireClientCertificate: false, |
- List<String> supportedProtocols}) { |
+ List<String> supportedProtocols, |
+ bool shared: false}) { |
return RawSecureServerSocket.bind( |
address, |
port, |
@@ -76,7 +77,8 @@ class SecureServerSocket extends Stream<SecureSocket> { |
v6Only: v6Only, |
requestClientCertificate: requestClientCertificate, |
requireClientCertificate: requireClientCertificate, |
- supportedProtocols: supportedProtocols).then( |
+ supportedProtocols: supportedProtocols, |
+ shared: shared).then( |
(serverSocket) => new SecureServerSocket._(serverSocket)); |
} |
@@ -192,8 +194,10 @@ class RawSecureServerSocket extends Stream<RawSecureSocket> { |
bool v6Only: false, |
bool requestClientCertificate: false, |
bool requireClientCertificate: false, |
- List<String> supportedProtocols}) { |
- return RawServerSocket.bind(address, port, backlog: backlog, v6Only: v6Only) |
+ List<String> supportedProtocols, |
+ bool shared: false}) { |
+ return RawServerSocket.bind( |
+ address, port, backlog: backlog, v6Only: v6Only, shared: shared) |
.then((serverSocket) => new RawSecureServerSocket._( |
serverSocket, |
certificateName, |