Support IETF RETRY from client
This CL parses the retry token, and updates our connection ID and crypters. Server-side support will come in a subsequent CL which will also add end to end tests.
gfe-relnote: Support IETF Retry packets from client in v99, protected by disabled v99 flag
PiperOrigin-RevId: 246911895
Change-Id: Icd5ecd22190fd18ad42882a66c3aa470640ce223
diff --git a/quic/core/quic_versions.h b/quic/core/quic_versions.h
index 00bbb32..7264810 100644
--- a/quic/core/quic_versions.h
+++ b/quic/core/quic_versions.h
@@ -154,6 +154,9 @@
// Returns whether header protection is used in this version of QUIC.
bool HasHeaderProtection() const;
+
+ // Returns whether this version supports IETF RETRY packets.
+ bool SupportsRetry() const;
};
QUIC_EXPORT_PRIVATE ParsedQuicVersion UnsupportedQuicVersion();