Make sure MaybeCoalescePacketOfHigherSpace is not re-entrant to avoid infinite loop. Protected by gfe2_reloadable_flag_quic_coalesced_packet_of_higher_space2 which replaces gfe2_reloadable_flag_quic_coalesced_packet_of_higher_space.
PiperOrigin-RevId: 323822656
Change-Id: Ie651e714ced763fb7041d8e3737ae241478691bd
diff --git a/quic/core/quic_packet_creator.h b/quic/core/quic_packet_creator.h
index 3cc7b64..c909cd4 100644
--- a/quic/core/quic_packet_creator.h
+++ b/quic/core/quic_packet_creator.h
@@ -655,7 +655,7 @@
GetQuicReloadableFlag(quic_determine_serialized_packet_fate_early);
const bool coalesced_packet_of_higher_space_ =
- GetQuicReloadableFlag(quic_coalesced_packet_of_higher_space);
+ GetQuicReloadableFlag(quic_coalesced_packet_of_higher_space2);
};
} // namespace quic