Index: net/socket/ssl_server_socket.h |
diff --git a/net/socket/ssl_server_socket.h b/net/socket/ssl_server_socket.h |
index 88f7f94143956764cb67b32dc2e7667136b38b9f..497f1e0ecf45def070bf40fa0d5c6033b1ccdce0 100644 |
--- a/net/socket/ssl_server_socket.h |
+++ b/net/socket/ssl_server_socket.h |
@@ -32,6 +32,16 @@ class SSLServerSocket : public SSLSocket { |
virtual int Handshake(const CompletionCallback& callback) = 0; |
}; |
+// Sets parameters used by SSL Server Sockets. In order for these parameters |
+// to take effect, this must be called before the first call to |
+// EnableSSLServerSockets. Otherwise, the default parameters below will be used. |
+// |
+// max_session_id_cache_entries: default: 1024 |
+// ssl_session_id_cache_timeout (seconds): default: 5 |
+NET_EXPORT void SetSSLServerSessionCacheParameters( |
+ int max_session_id_cache_entries, |
+ int ssl_session_id_cache_timeout); |
+ |
// Configures the underlying SSL library for the use of SSL server sockets. |
// |
// Due to the requirements of the underlying libraries, this should be called |