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

Unified Diff: net/quic/quic_chromium_client_session.cc

Issue 2082223002: [m52] Send QUIC ping packets when there are draining streams, even if there are no open streams. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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_chromium_client_session.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_chromium_client_session.cc
diff --git a/net/quic/quic_chromium_client_session.cc b/net/quic/quic_chromium_client_session.cc
index 91f763c9d6dcdf6b4186589fe9adbb173342e40d..25f7224f2cafaf6e68ae62f6b757db5615850a60 100644
--- a/net/quic/quic_chromium_client_session.cc
+++ b/net/quic/quic_chromium_client_session.cc
@@ -914,6 +914,11 @@ void QuicChromiumClientSession::OnPathDegrading() {
}
}
+bool QuicChromiumClientSession::HasOpenDynamicStreams() const {
+ return QuicSession::HasOpenDynamicStreams() ||
+ GetNumDrainingOutgoingStreams() > 0;
+}
+
void QuicChromiumClientSession::OnProofValid(
const QuicCryptoClientConfig::CachedState& cached) {
DCHECK(cached.proof_valid());
« no previous file with comments | « net/quic/quic_chromium_client_session.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698