Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(709)

Unified Diff: net/quic/quic_framer.h

Issue 1761253002: Make QUIC version negotiation stateless. The QUIC dispatcher now detects version mismatch before cr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115591435
Patch Set: Update dependency Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_framer.h
diff --git a/net/quic/quic_framer.h b/net/quic/quic_framer.h
index 456f2b096adcbbdd887b679023856cfcb6bc6a05..3cc242674bb974c2e54406370aa2cbec7c8b00fe 100644
--- a/net/quic/quic_framer.h
+++ b/net/quic/quic_framer.h
@@ -369,6 +369,8 @@ class NET_EXPORT_PRIVATE QuicFramer {
// Called when a PATH_CLOSED frame has been sent/received on |path_id|.
void OnPathClosed(QuicPathId path_id);
+ QuicTag last_version_tag() { return last_version_tag_; }
+
private:
friend class test::QuicFramerPeer;
@@ -536,6 +538,8 @@ class NET_EXPORT_PRIVATE QuicFramer {
QuicPathId last_path_id_;
// Updated by WritePacketHeader.
QuicConnectionId last_serialized_connection_id_;
+ // The last QUIC version tag received.
+ QuicTag last_version_tag_;
// Version of the protocol being used.
QuicVersion quic_version_;
// This vector contains QUIC versions which we currently support.
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698