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

Unified Diff: net/quic/quic_config.cc

Issue 898233003: Making the (deprecation-in-progress) congestion field write only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Improving_junk_packet_handling_85067984
Patch Set: Created 5 years, 10 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 | « no previous file | net/quic/test_tools/quic_config_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_config.cc
diff --git a/net/quic/quic_config.cc b/net/quic/quic_config.cc
index 9d0a7c9bb3553c374fbc0e8a7620c534db2c0e2c..e919442e751fa0ace9f2dec96524acf7b7dcbded 100644
--- a/net/quic/quic_config.cc
+++ b/net/quic/quic_config.cc
@@ -594,9 +594,8 @@ bool QuicConfig::negotiated() const {
// TODO(ianswett): Add the negotiated parameters once and iterate over all
// of them in negotiated, ToHandshakeMessage, ProcessClientHello, and
// ProcessServerHello.
- return congestion_feedback_.negotiated() &&
- idle_connection_state_lifetime_seconds_.negotiated() &&
- max_streams_per_connection_.negotiated();
+ return idle_connection_state_lifetime_seconds_.negotiated() &&
+ max_streams_per_connection_.negotiated();
}
void QuicConfig::SetDefaults() {
@@ -647,10 +646,6 @@ QuicErrorCode QuicConfig::ProcessPeerHello(
QuicErrorCode error = QUIC_NO_ERROR;
if (error == QUIC_NO_ERROR) {
- error = congestion_feedback_.ProcessPeerHello(
- peer_hello, hello_type, error_details);
- }
- if (error == QUIC_NO_ERROR) {
error = idle_connection_state_lifetime_seconds_.ProcessPeerHello(
peer_hello, hello_type, error_details);
}
« no previous file with comments | « no previous file | net/quic/test_tools/quic_config_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698