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

Unified Diff: net/quic/core/quic_config.h

Issue 2453933002: Reinstating short timeouts for proxied QUIC. ENABLED FLAGS_quic_reinstate_short_timeout_for_udp_pr… (Closed)
Patch Set: Updated patchset dependency Created 4 years, 2 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/core/quic_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_config.h
diff --git a/net/quic/core/quic_config.h b/net/quic/core/quic_config.h
index 6d552426fd145676bf546da8f3f9376861fb4960..10e5711b0871e25a2ec9072fcfc08d1e95df4d89 100644
--- a/net/quic/core/quic_config.h
+++ b/net/quic/core/quic_config.h
@@ -93,6 +93,9 @@ class NET_EXPORT_PRIVATE QuicNegotiableUint32 : public QuicNegotiableValue {
// default_value_ (used to set default values before negotiation finishes).
uint32_t GetUint32() const;
+ // Returns the maximum value negotiable.
+ uint32_t GetMax() const;
+
// Serialises |name_| and value to |out|. If |negotiated_| is true then
// |negotiated_value_| is serialised, otherwise |max_value_| is serialised.
void ToHandshakeMessage(CryptoHandshakeMessage* out) const override;
@@ -319,6 +322,10 @@ class NET_EXPORT_PRIVATE QuicConfig {
return max_idle_time_before_crypto_handshake_;
}
+ QuicNegotiableUint32 idle_connection_state_lifetime_seconds() const {
+ return idle_connection_state_lifetime_seconds_;
+ }
+
void set_max_undecryptable_packets(size_t max_undecryptable_packets) {
max_undecryptable_packets_ = max_undecryptable_packets;
}
« no previous file with comments | « no previous file | net/quic/core/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698