Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(563)

Unified Diff: net/socket/ssl_client_socket_pool.cc

Issue 8892026: SPDY - add support for spdy/2.1 to support flow control. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_client_socket.cc ('k') | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_pool.cc
===================================================================
--- net/socket/ssl_client_socket_pool.cc (revision 113884)
+++ net/socket/ssl_client_socket_pool.cc (working copy)
@@ -302,8 +302,10 @@
// advertised it, so allow it.
// TODO(mbelshe): verify it was a protocol we advertised?
if (next_protocol == SSLClientSocket::kProtoSPDY1 ||
- next_protocol == SSLClientSocket::kProtoSPDY2) {
+ next_protocol == SSLClientSocket::kProtoSPDY2 ||
+ next_protocol == SSLClientSocket::kProtoSPDY21) {
ssl_socket_->set_was_spdy_negotiated(true);
+ ssl_socket_->set_next_protocol_negotiated(next_protocol);
}
}
if (params_->want_spdy_over_npn() && !ssl_socket_->was_spdy_negotiated())
« no previous file with comments | « net/socket/ssl_client_socket.cc ('k') | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698