| Index: net/http/http_stream_factory_impl_job_controller.cc
|
| diff --git a/net/http/http_stream_factory_impl_job_controller.cc b/net/http/http_stream_factory_impl_job_controller.cc
|
| index ec3827716e372fb5e2cbb3acd66e36433f4114aa..772bbfe1dcbcb7fbc0ca19008e2f9f25d9e8b2c4 100644
|
| --- a/net/http/http_stream_factory_impl_job_controller.cc
|
| +++ b/net/http/http_stream_factory_impl_job_controller.cc
|
| @@ -988,7 +988,6 @@ HttpStreamFactoryImpl::JobController::GetAlternativeServiceForInternal(
|
| continue;
|
| }
|
|
|
| -
|
| // Some shared unix systems may have user home directories (like
|
| // http://foo.com/~mike) which allow users to emit headers. This is a bad
|
| // idea already, but with Alternate-Protocol, it provides the ability for a
|
| @@ -1002,11 +1001,8 @@ HttpStreamFactoryImpl::JobController::GetAlternativeServiceForInternal(
|
| continue;
|
|
|
| if (alternative_service.protocol == kProtoHTTP2) {
|
| - if (origin.host() != alternative_service.host &&
|
| - !session_->params()
|
| - .enable_http2_alternative_service_with_different_host) {
|
| + if (!session_->params().enable_http2_alternative_service)
|
| continue;
|
| - }
|
|
|
| // Cache this entry if we don't have a non-broken Alt-Svc yet.
|
| if (first_alternative_service.protocol == kProtoUnknown)
|
|
|