Deprecate quic_use_allocated_connection_ids
gfe-relnote: deprecate gfe2_restart_flag_quic_use_allocated_connection_ids
PiperOrigin-RevId: 264243557
Change-Id: Ib7ba3b1a3151a11dd88838755a2924fa73dd2b03
diff --git a/quic/core/quic_connection_id.h b/quic/core/quic_connection_id.h
index 0b8c06a..431cc74 100644
--- a/quic/core/quic_connection_id.h
+++ b/quic/core/quic_connection_id.h
@@ -105,15 +105,12 @@
uint8_t length_; // length of the connection ID, in bytes.
// The connection ID is represented in network byte order.
union {
- // When quic_use_allocated_connection_ids is false, the connection ID is
- // stored in the first |length_| bytes of |data_|.
- char data_[kQuicMaxConnectionIdAllVersionsLength];
- // When quic_use_allocated_connection_ids is true, if the connection ID
- // fits in |data_short_|, it is stored in the first |length_| bytes of
- // |data_short_|. Otherwise it is stored in |data_long_| which is
- // guaranteed to have a size equal to |length_|. A value of 11 was chosen
- // because our commonly used connection ID length is 8 and with the length,
- // the class is padded to 12 bytes anyway.
+ // If the connection ID fits in |data_short_|, it is stored in the
+ // first |length_| bytes of |data_short_|.
+ // Otherwise it is stored in |data_long_| which is guaranteed to have a size
+ // equal to |length_|.
+ // A value of 11 was chosen because our commonly used connection ID length
+ // is 8 and with the length, the class is padded to 12 bytes anyway.
char data_short_[11];
char* data_long_;
};