summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket_pool.cc
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-16 18:03:56 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-16 18:03:56 +0000
commit6c506914943b8abaaaf59300ef9e26bb77980461 (patch)
tree6c8109564a90d07682b4414a32d700e2367568a0 /net/socket/ssl_client_socket_pool.cc
parentdbe613d39653a38ee57cbb0f5e0cc4e92af5325a (diff)
downloadchromium_src-6c506914943b8abaaaf59300ef9e26bb77980461.zip
chromium_src-6c506914943b8abaaaf59300ef9e26bb77980461.tar.gz
chromium_src-6c506914943b8abaaaf59300ef9e26bb77980461.tar.bz2
net: enable SSLHostInfo by default.
This triggers the infrastruture of Snap Start without enabling Snap Start itself. This is a good thing because, by caching the certificates on disk (which we need to do for Snap Start), we can start certificate verification concurrently with the DNS, TCP and TLS round trips. The savings when the OCSP memory cache is stale are decent (several hundred milliseconds) and there's a histogram to measure it. BUG=none TEST=net_unittests http://codereview.chromium.org/5705007/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69420 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket_pool.cc')
-rw-r--r--net/socket/ssl_client_socket_pool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/ssl_client_socket_pool.cc b/net/socket/ssl_client_socket_pool.cc
index deaf4f3..12c06ed 100644
--- a/net/socket/ssl_client_socket_pool.cc
+++ b/net/socket/ssl_client_socket_pool.cc
@@ -196,7 +196,7 @@ int SSLConnectJob::DoLoop(int result) {
int SSLConnectJob::DoTCPConnect() {
DCHECK(tcp_pool_);
- if (ssl_host_info_factory_ && SSLConfigService::snap_start_enabled()) {
+ if (ssl_host_info_factory_) {
ssl_host_info_.reset(
ssl_host_info_factory_->GetForHost(params_->host_and_port().host(),
params_->ssl_config()));