Chromium Code Reviews| Index: net/http/http_stream_factory.cc |
| diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc |
| index f84b80c925399398725e6baa1335f75c1080444e..754372bb88aec3549c08266e07992ed455b8bce3 100644 |
| --- a/net/http/http_stream_factory.cc |
| +++ b/net/http/http_stream_factory.cc |
| @@ -86,14 +86,6 @@ void HttpStreamFactory::ProcessAlternateProtocol( |
| if (mapping_rules) |
| mapping_rules->RewriteHost(&host_port); |
| - if (http_server_properties->HasAlternateProtocol(host_port)) { |
| - const AlternateProtocolInfo existing_alternate = |
| - http_server_properties->GetAlternateProtocol(host_port); |
| - // If we think the alternate protocol is broken, don't change it. |
| - if (existing_alternate.is_broken) |
|
Bence
2015/02/03 20:43:20
Note that SetAlternateProtocol is not willing to o
|
| - return; |
| - } |
| - |
| http_server_properties->SetAlternateProtocol( |
| host_port, static_cast<uint16>(port), protocol, probability); |
| } |