Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: net/socket/ssl_server_socket_nss.cc

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/server/http_server.cc ('k') | net/ssl/client_cert_store_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_server_socket_nss.cc
diff --git a/net/socket/ssl_server_socket_nss.cc b/net/socket/ssl_server_socket_nss.cc
index 879a1fa179266e9c38a806c52fc8b564f1d01fad..7fa5835b43062f8ceecf0479582752609d907f0d 100644
--- a/net/socket/ssl_server_socket_nss.cc
+++ b/net/socket/ssl_server_socket_nss.cc
@@ -59,7 +59,7 @@ class NSSSSLServerInitSingleton {
NSSSSLServerInitSingleton() {
EnsureNSSSSLInit();
- SSL_ConfigServerSessionIDCache(1024, 5, 5, NULL);
+ SSL_ConfigServerSessionIDCache(64, 28800, 28800, NULL);
g_nss_server_sockets_init = true;
}
@@ -84,7 +84,7 @@ scoped_ptr<SSLServerSocket> CreateSSLServerSocket(
crypto::RSAPrivateKey* key,
const SSLConfig& ssl_config) {
DCHECK(g_nss_server_sockets_init) << "EnableSSLServerSockets() has not been"
- << "called yet!";
+ << " called yet!";
return scoped_ptr<SSLServerSocket>(
new SSLServerSocketNSS(socket.Pass(), cert, key, ssl_config));
« no previous file with comments | « net/server/http_server.cc ('k') | net/ssl/client_cert_store_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698