Index: net/http/http_server_properties.cc |
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc |
index 1e3ccd234f0460a83a2b2efe6ac4f1bc139a1470..408ced8501b4d261d4b09fc83a223a8a0e821a6e 100644 |
--- a/net/http/http_server_properties.cc |
+++ b/net/http/http_server_properties.cc |
@@ -109,8 +109,10 @@ std::string AlternativeServiceInfo::ToString() const { |
// static |
void HttpServerProperties::ForceHTTP11(SSLConfig* ssl_config) { |
- ssl_config->next_protos.clear(); |
- ssl_config->next_protos.push_back(kProtoHTTP11); |
+ ssl_config->alpn_protos.clear(); |
+ ssl_config->alpn_protos.push_back(kProtoHTTP11); |
+ ssl_config->npn_protos.clear(); |
+ ssl_config->npn_protos.push_back(kProtoHTTP11); |
} |
} // namespace net |