Chromium Code Reviews| Index: net/flip/flip_session.cc |
| diff --git a/net/flip/flip_session.cc b/net/flip/flip_session.cc |
| index cede942eee80efc9a55cdde9d4901b4a850fa9be..d647c40a855f7c5beba910212bb0ccffc10bc7b2 100644 |
| --- a/net/flip/flip_session.cc |
| +++ b/net/flip/flip_session.cc |
| @@ -158,6 +158,13 @@ FlipSession::FlipSession(const std::string& host, HttpNetworkSession* session) |
| flip_framer_.set_visitor(this); |
| session_->ssl_config_service()->GetSSLConfig(&ssl_config_); |
| + |
| + // In the event that the server supports Next Protocol Negotiation, but |
| + // doesn't support either of these protocols, we'll request the first |
| + // protocol in the list. Because of that, HTTP is listed first because it's |
| + // what we'll actually fallback to in the case that the server doesn't |
| + // support SPDY. |
| + ssl_config_.next_protos = "\007http1.1\004spdy"; |
|
willchan no longer on Chromium
2009/11/25 19:48:13
I don't think this code makes sense here. We will
agl
2009/11/30 20:24:53
It doesn't make sense here, it's only a placeholde
|
| } |
| FlipSession::~FlipSession() { |