OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CONFIG_H_ | 5 #ifndef NET_QUIC_QUIC_CONFIG_H_ |
6 #define NET_QUIC_QUIC_CONFIG_H_ | 6 #define NET_QUIC_QUIC_CONFIG_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 const IPEndPoint& alternate_server_address); | 390 const IPEndPoint& alternate_server_address); |
391 | 391 |
392 bool HasReceivedAlternateServerAddress() const; | 392 bool HasReceivedAlternateServerAddress() const; |
393 | 393 |
394 const IPEndPoint& ReceivedAlternateServerAddress() const; | 394 const IPEndPoint& ReceivedAlternateServerAddress() const; |
395 | 395 |
396 void SetForceHolBlocking(); | 396 void SetForceHolBlocking(); |
397 | 397 |
398 bool ForceHolBlocking(Perspective perspective) const; | 398 bool ForceHolBlocking(Perspective perspective) const; |
399 | 399 |
| 400 void SetSupportMaxHeaderListSize(); |
| 401 |
| 402 bool SupportMaxHeaderListSize() const; |
| 403 |
400 bool negotiated() const; | 404 bool negotiated() const; |
401 | 405 |
402 // ToHandshakeMessage serialises the settings in this object as a series of | 406 // ToHandshakeMessage serialises the settings in this object as a series of |
403 // tags /value pairs and adds them to |out|. | 407 // tags /value pairs and adds them to |out|. |
404 void ToHandshakeMessage(CryptoHandshakeMessage* out) const; | 408 void ToHandshakeMessage(CryptoHandshakeMessage* out) const; |
405 | 409 |
406 // Calls ProcessPeerHello on each negotiable parameter. On failure returns | 410 // Calls ProcessPeerHello on each negotiable parameter. On failure returns |
407 // the corresponding QuicErrorCode and sets detailed error in |error_details|. | 411 // the corresponding QuicErrorCode and sets detailed error in |error_details|. |
408 QuicErrorCode ProcessPeerHello(const CryptoHandshakeMessage& peer_hello, | 412 QuicErrorCode ProcessPeerHello(const CryptoHandshakeMessage& peer_hello, |
409 HelloType hello_type, | 413 HelloType hello_type, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 QuicNegotiableUint32 multipath_enabled_; | 456 QuicNegotiableUint32 multipath_enabled_; |
453 | 457 |
454 // Whether tell peer not to attempt connection migration. | 458 // Whether tell peer not to attempt connection migration. |
455 QuicFixedUint32 connection_migration_disabled_; | 459 QuicFixedUint32 connection_migration_disabled_; |
456 | 460 |
457 // An alternate server address the client could connect to. | 461 // An alternate server address the client could connect to. |
458 QuicFixedIPEndPoint alternate_server_address_; | 462 QuicFixedIPEndPoint alternate_server_address_; |
459 | 463 |
460 // Force HOL blocking for measurement purposes. | 464 // Force HOL blocking for measurement purposes. |
461 QuicFixedUint32 force_hol_blocking_; | 465 QuicFixedUint32 force_hol_blocking_; |
| 466 |
| 467 // Whether support HTTP/2 SETTINGS_MAX_HEADER_LIST_SIZE SETTINGS frame. |
| 468 QuicFixedUint32 support_max_header_list_size_; |
462 }; | 469 }; |
463 | 470 |
464 } // namespace net | 471 } // namespace net |
465 | 472 |
466 #endif // NET_QUIC_QUIC_CONFIG_H_ | 473 #endif // NET_QUIC_QUIC_CONFIG_H_ |
OLD | NEW |