OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ | 5 #ifndef NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ | 6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 // client supports them, as indicated by | 223 // client supports them, as indicated by |
224 // peer_supports_stateless_rejects_. | 224 // peer_supports_stateless_rejects_. |
225 bool use_stateless_rejects_if_peer_supported_; | 225 bool use_stateless_rejects_if_peer_supported_; |
226 | 226 |
227 // Set to true, once the server has received information from the | 227 // Set to true, once the server has received information from the |
228 // client that it supports stateless reject. | 228 // client that it supports stateless reject. |
229 // TODO(jokulik): Remove once client stateless reject support | 229 // TODO(jokulik): Remove once client stateless reject support |
230 // becomes the default. | 230 // becomes the default. |
231 bool peer_supports_stateless_rejects_; | 231 bool peer_supports_stateless_rejects_; |
232 | 232 |
| 233 // Size of the packet containing the most recently received CHLO. |
| 234 QuicByteCount chlo_packet_size_; |
| 235 |
233 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); | 236 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); |
234 }; | 237 }; |
235 | 238 |
236 } // namespace net | 239 } // namespace net |
237 | 240 |
238 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ | 241 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ |
OLD | NEW |