| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // This file intentionally does not have header guards, it's included | 5 // This file intentionally does not have header guards, it's included |
| 6 // inside a macro to generate values. | 6 // inside a macro to generate values. |
| 7 | 7 |
| 8 // This file contains the list of QUIC protocol flags. | 8 // This file contains the list of QUIC protocol flags. |
| 9 | 9 |
| 10 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 10 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // If true, re-enables QUIC_VERSION_36. | 65 // If true, re-enables QUIC_VERSION_36. |
| 66 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) | 66 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) |
| 67 | 67 |
| 68 // If true, use async codepaths to invoke ProofSource::GetProof. | 68 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 69 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) | 69 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) |
| 70 | 70 |
| 71 // If true, requires handshake confirmations for all QUIC handshakes with | 71 // If true, requires handshake confirmations for all QUIC handshakes with |
| 72 // versions less than 33. | 72 // versions less than 33. |
| 73 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) | 73 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) |
| 74 | 74 |
| 75 // If true, close QUIC connection explicitly on write error due to packet being | |
| 76 // too large. | |
| 77 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_packet_too_large, true) | |
| 78 | |
| 79 // If true, use the CHLO packet size, not message size when determining how | 75 // If true, use the CHLO packet size, not message size when determining how |
| 80 // large a REJ can be. | 76 // large a REJ can be. |
| 81 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true) | 77 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true) |
| 82 | 78 |
| 83 // If true, defer creation of new connection till its CHLO arrives. | 79 // If true, defer creation of new connection till its CHLO arrives. |
| 84 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) | 80 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) |
| 85 | 81 |
| 86 // If true, disables QUIC version less than 32. | 82 // If true, disables QUIC version less than 32. |
| 87 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) | 83 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) |
| 88 | 84 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 114 | 110 |
| 115 // If true, allow server address change if it is because of mapped ipv4 address. | 111 // If true, allow server address change if it is because of mapped ipv4 address. |
| 116 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) | 112 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) |
| 117 | 113 |
| 118 // If true, disables QUIC version less than 34. | 114 // If true, disables QUIC version less than 34. |
| 119 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 115 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| 120 | 116 |
| 121 // When true, decode the packet number from the largest received packet, rather | 117 // When true, decode the packet number from the largest received packet, rather |
| 122 // than the most recent. | 118 // than the most recent. |
| 123 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) | 119 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) |
| OLD | NEW |