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

Unified Diff: net/quic/quic_config.h

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_client_session.cc ('k') | net/quic/quic_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_config.h
diff --git a/net/quic/quic_config.h b/net/quic/quic_config.h
index 507dd9dca5746ca7d8fc93ae89644464dd3ebdfb..12097f84564aece2119c8015dacaa0408cb85ff1 100644
--- a/net/quic/quic_config.h
+++ b/net/quic/quic_config.h
@@ -277,7 +277,9 @@ class NET_EXPORT_PRIVATE QuicConfig {
QuicTime::Delta IdleConnectionStateLifetime() const;
- QuicTime::Delta KeepaliveTimeout() const;
+ void SetSilentClose(bool silent_close);
+
+ bool SilentClose() const;
void SetMaxStreamsPerConnection(size_t max_streams, size_t default_streams);
@@ -400,8 +402,8 @@ class NET_EXPORT_PRIVATE QuicConfig {
QuicFixedTagVector connection_options_;
// Idle connection state lifetime
QuicNegotiableUint32 idle_connection_state_lifetime_seconds_;
- // Keepalive timeout, or 0 to turn off keepalive probes
- QuicNegotiableUint32 keepalive_timeout_seconds_;
+ // Whether to use silent close. Defaults to 0 (false) and is otherwise true.
+ QuicNegotiableUint32 silent_close_;
// Maximum number of streams that the connection can support.
QuicNegotiableUint32 max_streams_per_connection_;
// The number of bytes required for the connection ID.
« no previous file with comments | « net/quic/quic_client_session.cc ('k') | net/quic/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698