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 235122d2e834ae363f77203bc88277c5ad2c96e5..250771c5e1ef764b25f6d6e435664b4eb30e26c8 100644 |
--- a/net/http/http_stream_factory_impl.cc |
+++ b/net/http/http_stream_factory_impl.cc |
@@ -190,7 +190,9 @@ AlternateProtocolInfo HttpStreamFactoryImpl::GetAlternateProtocolRequestFor( |
if (alternate.protocol == UNINITIALIZED_ALTERNATE_PROTOCOL) |
return kNoAlternateProtocol; |
- if (alternate.is_broken) { |
+ const AlternativeService alternative_service(alternate.protocol, |
+ origin.host(), alternate.port); |
+ if (http_server_properties.IsAlternativeServiceBroken(alternative_service)) { |
HistogramAlternateProtocolUsage(ALTERNATE_PROTOCOL_USAGE_BROKEN); |
return kNoAlternateProtocol; |
} |