gfe-relnote: Modify ParsedQuicVersion::HasHeaderProtection to support chromium merge. Not flag protected; currently unused
This should have been in cl/246190639.
PiperOrigin-RevId: 246593012
Change-Id: I5ff484a7957505b6853a91a20fa5d712553e8cbf
diff --git a/quic/core/quic_versions.cc b/quic/core/quic_versions.cc
index 62f0218..3fb817b 100644
--- a/quic/core/quic_versions.cc
+++ b/quic/core/quic_versions.cc
@@ -50,7 +50,14 @@
}
bool ParsedQuicVersion::HasHeaderProtection() const {
- return transport_version == QUIC_VERSION_99;
+ // Header protection support hasn't landed yet, so right now no version
+ // supports header protection. When support for header protection lands, this
+ // check will be revised to return true for versions that support header
+ // protection (i.e. transport_version == QUIC_VERSION_99).
+ //
+ // Returning false right now allows code to land in chromium that needs to be
+ // on only when header protection is supported.
+ return false;
}
std::ostream& operator<<(std::ostream& os, const ParsedQuicVersion& version) {