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

Unified Diff: net/quic/quic_connection.h

Issue 15074007: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for windows Created 7 years, 7 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_config_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index ce3a26398d5f5083bbac388dedf6e41afcae226d..dab64eed4337f5df9581b404864c532a7d1c0001 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -503,7 +503,8 @@ class NET_EXPORT_PRIVATE QuicConnection
void MaybeSendAckInResponseToPacket();
- // Get the FEC group associate with the last processed packet.
+ // Get the FEC group associate with the last processed packet or NULL, if the
+ // group has already been deleted.
QuicFecGroup* GetFecGroup();
// Closes any FEC groups protecting packets before |sequence_number|.
@@ -519,10 +520,6 @@ class NET_EXPORT_PRIVATE QuicConnection
// client.
IPEndPoint self_address_;
IPEndPoint peer_address_;
- // Address on the last(currently being processed) packet received. Not
- // verified/authenticated.
- IPEndPoint last_self_address_;
- IPEndPoint last_peer_address_;
bool last_packet_revived_; // True if the last packet was revived from FEC.
size_t last_size_; // Size of the last received packet.
@@ -606,6 +603,8 @@ class NET_EXPORT_PRIVATE QuicConnection
// The version of the protocol this connection is using.
QuicTag quic_version_;
+ size_t max_packets_per_retransmission_alarm_;
+
// Tracks if the connection was created by the server.
bool is_server_;
@@ -619,6 +618,10 @@ class NET_EXPORT_PRIVATE QuicConnection
bool send_ack_in_response_to_packet_;
+ // Set to true if the udp packet headers have a new self or peer address.
+ // This is checked later on validating a data or version negotiation packet.
+ bool address_migrating_;
+
DISALLOW_COPY_AND_ASSIGN(QuicConnection);
};
« no previous file with comments | « net/quic/quic_config_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698