| Index: net/quic/quic_config.h
|
| diff --git a/net/quic/quic_config.h b/net/quic/quic_config.h
|
| index a9681fbf36fcc7159538271d594a6264227356ef..6d312e3b220813736c27ebf93a4e141e1601b2d2 100644
|
| --- a/net/quic/quic_config.h
|
| +++ b/net/quic/quic_config.h
|
| @@ -304,6 +304,14 @@ class NET_EXPORT_PRIVATE QuicConfig {
|
| return max_idle_time_before_crypto_handshake_;
|
| }
|
|
|
| + void set_max_undecryptable_packets(size_t max_undecryptable_packets) {
|
| + max_undecryptable_packets_ = max_undecryptable_packets;
|
| + }
|
| +
|
| + size_t max_undecryptable_packets() const {
|
| + return max_undecryptable_packets_;
|
| + }
|
| +
|
| // Sets the peer's default initial congestion window in packets.
|
| void SetInitialCongestionWindowToSend(size_t initial_window);
|
|
|
| @@ -383,6 +391,8 @@ class NET_EXPORT_PRIVATE QuicConfig {
|
| QuicTime::Delta max_time_before_crypto_handshake_;
|
| // Maximum idle time before the crypto handshake has completed.
|
| QuicTime::Delta max_idle_time_before_crypto_handshake_;
|
| + // Maximum number of undecryptable packets stored before CHLO/SHLO.
|
| + size_t max_undecryptable_packets_;
|
|
|
| // Congestion control feedback type.
|
| QuicNegotiableTag congestion_feedback_;
|
|
|