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

Unified Diff: net/quic/p2p/quic_p2p_crypto_stream.cc

Issue 1327923002: Migrates QUIC sessions to a new network when old network is (about to be) disconnected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Fixed a test that I missed earlier. Created 4 years, 11 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
Index: net/quic/p2p/quic_p2p_crypto_stream.cc
diff --git a/net/quic/p2p/quic_p2p_crypto_stream.cc b/net/quic/p2p/quic_p2p_crypto_stream.cc
index f5acb98b1b994c6ca0e3f05c851b2a8fa7841ff8..840e3ec5c50da13bac112a335c6c87ca1da21716 100644
--- a/net/quic/p2p/quic_p2p_crypto_stream.cc
+++ b/net/quic/p2p/quic_p2p_crypto_stream.cc
@@ -41,7 +41,7 @@ bool QuicP2PCryptoStream::Connect() {
if (session()->connection()->perspective() == Perspective::IS_CLIENT) {
// Send a ping from the client to the server to satisfy QUIC's version
// negotiation.
- session()->connection()->SendPing();
+ session()->connection()->SendPing(/*force=*/false);
}
return true;
}

Powered by Google App Engine
This is Rietveld 408576698