Chromium Code Reviews| Index: net/http/http_network_layer.cc |
| =================================================================== |
| --- net/http/http_network_layer.cc (revision 121685) |
| +++ net/http/http_network_layer.cc (working copy) |
| @@ -101,7 +101,6 @@ |
| std::vector<std::string> next_protos; |
| next_protos.push_back("http/1.1"); |
| next_protos.push_back("spdy/2"); |
| - next_protos.push_back("spdy/2.1"); |
| HttpStreamFactory::set_next_protos(next_protos); |
| } else if (option == kEnableNpnHttpOnly) { |
| // Avoid alternate protocol in this case. Otherwise, browser will try SSL |
| @@ -130,7 +129,7 @@ |
| } else if (option == kForceAltProtocols) { |
| PortAlternateProtocolPair pair; |
| pair.port = 443; |
| - pair.protocol = NPN_SPDY_21; |
| + pair.protocol = NPN_SPDY_2; |
|
wtc
2012/02/14 02:26:06
We should also come up with a better way to specif
|
| HttpServerPropertiesImpl::ForceAlternateProtocol(pair); |
| } else if (option == kSingleDomain) { |
| SpdySessionPool::ForceSingleDomain(); |