| Index: net/quic/quic_config.h
|
| diff --git a/net/quic/quic_config.h b/net/quic/quic_config.h
|
| index a9254f82deb606639a4283804562aa6d1b44bfe6..203eb2e2bd1c749a083356d8d0cff7092637d391 100644
|
| --- a/net/quic/quic_config.h
|
| +++ b/net/quic/quic_config.h
|
| @@ -286,9 +286,23 @@ class NET_EXPORT_PRIVATE QuicConfig {
|
| uint32 MaxStreamsPerConnection() const;
|
|
|
| void set_max_time_before_crypto_handshake(
|
| - QuicTime::Delta max_time_before_crypto_handshake);
|
| + QuicTime::Delta max_time_before_crypto_handshake) {
|
| + max_time_before_crypto_handshake_ = max_time_before_crypto_handshake;
|
| + }
|
|
|
| - QuicTime::Delta max_time_before_crypto_handshake() const;
|
| + QuicTime::Delta max_time_before_crypto_handshake() const {
|
| + return max_time_before_crypto_handshake_;
|
| + }
|
| +
|
| + void set_max_idle_time_before_crypto_handshake(
|
| + QuicTime::Delta max_idle_time_before_crypto_handshake) {
|
| + max_idle_time_before_crypto_handshake_ =
|
| + max_idle_time_before_crypto_handshake;
|
| + }
|
| +
|
| + QuicTime::Delta max_idle_time_before_crypto_handshake() const {
|
| + return max_idle_time_before_crypto_handshake_;
|
| + }
|
|
|
| // Sets the peer's default initial congestion window in packets.
|
| void SetInitialCongestionWindowToSend(size_t initial_window);
|
| @@ -346,7 +360,7 @@ class NET_EXPORT_PRIVATE QuicConfig {
|
|
|
| uint32 ReceivedSocketReceiveBuffer() const;
|
|
|
| - bool negotiated();
|
| + bool negotiated() const;
|
|
|
| // SetDefaults sets the members to sensible, default values.
|
| void SetDefaults();
|
| @@ -364,6 +378,12 @@ class NET_EXPORT_PRIVATE QuicConfig {
|
| private:
|
| friend class test::QuicConfigPeer;
|
|
|
| + // Configurations options that are not negotiated.
|
| + // Maximum time the session can be alive before crypto handshake is finished.
|
| + QuicTime::Delta max_time_before_crypto_handshake_;
|
| + // Maximum idle time before the crypto handshake has completed.
|
| + QuicTime::Delta max_idle_time_before_crypto_handshake_;
|
| +
|
| // Congestion control feedback type.
|
| QuicNegotiableTag congestion_feedback_;
|
| // Connection options.
|
| @@ -374,9 +394,6 @@ class NET_EXPORT_PRIVATE QuicConfig {
|
| QuicNegotiableUint32 keepalive_timeout_seconds_;
|
| // Maximum number of streams that the connection can support.
|
| QuicNegotiableUint32 max_streams_per_connection_;
|
| - // Maximum time till the session can be alive before crypto handshake is
|
| - // finished. (Not negotiated).
|
| - QuicTime::Delta max_time_before_crypto_handshake_;
|
| // Initial congestion window in packets.
|
| QuicFixedUint32 initial_congestion_window_;
|
| // Initial round trip time estimate in microseconds.
|
|
|