| Index: net/http/http_stream_factory_impl.cc
|
| diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc
|
| index bfdd63699ff7b877f24317fdebb73c017392e286..f183dcdc47b2978c5deb07a17f5a757487fed78e 100644
|
| --- a/net/http/http_stream_factory_impl.cc
|
| +++ b/net/http/http_stream_factory_impl.cc
|
| @@ -142,9 +142,14 @@ HttpStreamRequest* HttpStreamFactoryImpl::RequestStreamInternal(
|
|
|
| void HttpStreamFactoryImpl::PreconnectStreams(
|
| int num_streams,
|
| - const HttpRequestInfo& request_info,
|
| - const SSLConfig& server_ssl_config,
|
| - const SSLConfig& proxy_ssl_config) {
|
| + const HttpRequestInfo& request_info) {
|
| + SSLConfig server_ssl_config;
|
| + SSLConfig proxy_ssl_config;
|
| + session_->GetSSLConfig(request_info, &server_ssl_config, &proxy_ssl_config);
|
| + // All preconnects should perform EV certificate verification.
|
| + server_ssl_config.verify_ev_cert = true;
|
| + proxy_ssl_config.verify_ev_cert = true;
|
| +
|
| DCHECK(!for_websockets_);
|
| AlternativeService alternative_service = GetAlternativeServiceFor(
|
| request_info, nullptr, HttpStreamRequest::HTTP_STREAM);
|
|
|