| Index: net/http/http_stream_parser.cc
|
| diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc
|
| index 460d9b7e5dca8e532b532cbb48b6aba4effcb75c..cde5301d076025f9a298022a6980a279c06039ea 100644
|
| --- a/net/http/http_stream_parser.cc
|
| +++ b/net/http/http_stream_parser.cc
|
| @@ -644,7 +644,8 @@ void HttpStreamParser::SetConnectionReused() {
|
| }
|
|
|
| void HttpStreamParser::GetSSLInfo(SSLInfo* ssl_info) {
|
| - if (request_->url.SchemeIs("https") && connection_->socket()) {
|
| + if ((request_->url.SchemeIs("https") || request_->url.SchemeIs("httpsv")) &&
|
| + connection_->socket()) {
|
| SSLClientSocket* ssl_socket =
|
| static_cast<SSLClientSocket*>(connection_->socket());
|
| ssl_socket->GetSSLInfo(ssl_info);
|
| @@ -653,7 +654,8 @@ void HttpStreamParser::GetSSLInfo(SSLInfo* ssl_info) {
|
|
|
| void HttpStreamParser::GetSSLCertRequestInfo(
|
| SSLCertRequestInfo* cert_request_info) {
|
| - if (request_->url.SchemeIs("https") && connection_->socket()) {
|
| + if ((request_->url.SchemeIs("https") || request_->url.SchemeIs("httpsv")) &&
|
| + connection_->socket()) {
|
| SSLClientSocket* ssl_socket =
|
| static_cast<SSLClientSocket*>(connection_->socket());
|
| ssl_socket->GetSSLCertRequestInfo(cert_request_info);
|
|
|