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

Unified Diff: net/socket/ssl_client_socket_pool.cc

Issue 2195273003: Deprecate SPDY/3.1 and draft HTTP/2 enum values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_pool.cc
diff --git a/net/socket/ssl_client_socket_pool.cc b/net/socket/ssl_client_socket_pool.cc
index e60c880e9f3f43b0a1a7af68c328daf52d5703a9..9364295633615b465e6927263c61e249411aee0c 100644
--- a/net/socket/ssl_client_socket_pool.cc
+++ b/net/socket/ssl_client_socket_pool.cc
@@ -336,7 +336,7 @@ int SSLConnectJob::DoSSLConnectComplete(int result) {
// If we want SPDY over ALPN/NPN, make sure it succeeded.
if (params_->expect_spdy() &&
- !NextProtoIsSPDY(ssl_socket_->GetNegotiatedProtocol())) {
+ ssl_socket_->GetNegotiatedProtocol() != kProtoHTTP2) {
return ERR_NPN_NEGOTIATION_FAILED;
}
« no previous file with comments | « net/socket/ssl_client_socket.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698