Internal change
PiperOrigin-RevId: 407149063
diff --git a/quic/core/quic_flags_list.h b/quic/core/quic_flags_list.h
index 73a6927..4fbb0ec 100644
--- a/quic/core/quic_flags_list.h
+++ b/quic/core/quic_flags_list.h
@@ -124,7 +124,7 @@
// When the flag is true, exit STARTUP after the same number of loss events as PROBE_UP.
QUIC_FLAG(FLAGS_quic_reloadable_flag_quic_bbr2_startup_probe_up_loss_events, true)
// When true, QUIC server will ignore received key_update_not_yet_supported transport parameter.
-QUIC_FLAG(FLAGS_quic_reloadable_flag_quic_ignore_key_update_not_yet_supported, false)
+QUIC_FLAG(FLAGS_quic_reloadable_flag_quic_ignore_key_update_not_yet_supported, true)
// When true, QUIC server will ignore received user agent transport parameter and rely on getting that information from HTTP headers.
QUIC_FLAG(FLAGS_quic_reloadable_flag_quic_ignore_user_agent_transport_parameter, true)
// When true, QuicDispatcher will silently drop incoming packets whose UDP source port is on the blocklist.
diff --git a/quic/core/quic_framer.cc b/quic/core/quic_framer.cc
index 7e78e64..79ace5a 100644
--- a/quic/core/quic_framer.cc
+++ b/quic/core/quic_framer.cc
@@ -4457,6 +4457,26 @@
previous_decrypter_ = std::move(decrypter_[ENCRYPTION_FORWARD_SECURE]);
decrypter_[ENCRYPTION_FORWARD_SECURE] = std::move(next_decrypter_);
encrypter_[ENCRYPTION_FORWARD_SECURE] = std::move(next_encrypter);
+ switch (reason) {
+ case KeyUpdateReason::kInvalid:
+ QUIC_CODE_COUNT(quic_key_update_invalid);
+ break;
+ case KeyUpdateReason::kRemote:
+ QUIC_CODE_COUNT(quic_key_update_remote);
+ break;
+ case KeyUpdateReason::kLocalForTests:
+ QUIC_CODE_COUNT(quic_key_update_local_for_tests);
+ break;
+ case KeyUpdateReason::kLocalForInteropRunner:
+ QUIC_CODE_COUNT(quic_key_update_local_for_interop_runner);
+ break;
+ case KeyUpdateReason::kLocalAeadConfidentialityLimit:
+ QUIC_CODE_COUNT(quic_key_update_local_aead_confidentiality_limit);
+ break;
+ case KeyUpdateReason::kLocalKeyUpdateLimitOverride:
+ QUIC_CODE_COUNT(quic_key_update_local_limit_override);
+ break;
+ }
visitor_->OnKeyUpdate(reason);
return true;
}