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

Unified Diff: net/quic/quic_connection.h

Issue 1664973002: Move the check for QUIC silent close from SendConnectionClosePacket, to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113294280
Patch Set: 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
« no previous file with comments | « no previous file | 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 b6073014e8c3d2c92ff27988cbc8559200a2de4b..b3fcdf6b7c61d33c6fa859f50cad63155910aba6 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -892,7 +892,9 @@ class NET_EXPORT_PRIVATE QuicConnection
// Contains the connection close packets if the connection has been closed.
scoped_ptr<std::vector<QuicEncryptedPacket*>> termination_packets_;
- // When true, the connection does not send a close packet on timeout.
+ // When true, the connection does not send a close packet on idle timeout due
+ // to lack of network activity.
+ // This is particularly important on mobile, where connections are short.
bool silent_close_enabled_;
FecGroupMap group_map_;
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698