Internal change
PiperOrigin-RevId: 489230986
diff --git a/quiche/quic/core/quic_dispatcher.cc b/quiche/quic/core/quic_dispatcher.cc
index 952f512..c851171 100644
--- a/quiche/quic/core/quic_dispatcher.cc
+++ b/quiche/quic/core/quic_dispatcher.cc
@@ -692,7 +692,7 @@
return result;
}
- if (!has_full_tls_chlo) {
+ if (GetQuicFlag(quic_allow_chlo_buffering) && !has_full_tls_chlo) {
// This packet does not contain a full CHLO. It could be a 0-RTT
// packet that arrived before the CHLO (due to loss or reordering),
// or it could be a fragment of a multi-packet CHLO.