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

Unified Diff: net/tools/quic/quic_time_wait_list_manager.cc

Issue 1716453002: relnote: Make QUIC version negotiation stateless. The QUIC dispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/tools/quic/quic_time_wait_list_manager.h ('k') | net/tools/quic/quic_time_wait_list_manager_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_time_wait_list_manager.cc
diff --git a/net/tools/quic/quic_time_wait_list_manager.cc b/net/tools/quic/quic_time_wait_list_manager.cc
index fbcf2e60d33bfe3d08fac23cbbc81c4da7da3f68..231e24af335924512655a1dee31b9b39a2bca766 100644
--- a/net/tools/quic/quic_time_wait_list_manager.cc
+++ b/net/tools/quic/quic_time_wait_list_manager.cc
@@ -190,6 +190,17 @@ void QuicTimeWaitListManager::ProcessPacket(
SendPublicReset(server_address, client_address, connection_id, packet_number);
}
+void QuicTimeWaitListManager::SendVersionNegotiationPacket(
+ QuicConnectionId connection_id,
+ const QuicVersionVector& supported_versions,
+ const IPEndPoint& server_address,
+ const IPEndPoint& client_address) {
+ QueuedPacket* packet = new QueuedPacket(
+ server_address, client_address, QuicFramer::BuildVersionNegotiationPacket(
+ connection_id, supported_versions));
+ SendOrQueuePacket(packet);
+}
+
// Returns true if the number of packets received for this connection_id is a
// power of 2 to throttle the number of public reset packets we send to a
// client.
« no previous file with comments | « net/tools/quic/quic_time_wait_list_manager.h ('k') | net/tools/quic/quic_time_wait_list_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698