gfe-relnote: In QUIC v47+, use variable packet number length in long header packet. Protected by DISABLED gfe2_reloadable_flag_quic_enable_version_47.
PiperOrigin-RevId: 253292288
Change-Id: Ife584a4c416dba0d63462b9a9e7f925917af6378
diff --git a/quic/core/quic_versions.cc b/quic/core/quic_versions.cc
index ecb6bd5..9c4027d 100644
--- a/quic/core/quic_versions.cc
+++ b/quic/core/quic_versions.cc
@@ -50,6 +50,10 @@
return transport_version > QUIC_VERSION_46;
}
+bool ParsedQuicVersion::SendsVariableLengthPacketNumberInLongHeader() const {
+ return transport_version > QUIC_VERSION_46;
+}
+
bool ParsedQuicVersion::SupportsClientConnectionIds() const {
if (!GetQuicRestartFlag(quic_do_not_override_connection_id)) {
// Do not enable this feature in a production version until this flag has