| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) | 95 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) |
| 96 | 96 |
| 97 // If true, QUIC will enforce the MTU limit for connections that may require a | 97 // If true, QUIC will enforce the MTU limit for connections that may require a |
| 98 // small MTU. | 98 // small MTU. |
| 99 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) | 99 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) |
| 100 | 100 |
| 101 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting | 101 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting |
| 102 // the connection. | 102 // the connection. |
| 103 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) | 103 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) |
| 104 | 104 |
| 105 // If true, do not force sending ack when connection is closed because of | |
| 106 // message too long (EMSGSIZE) write error. | |
| 107 QUIC_FLAG(bool, FLAGS_quic_do_not_send_ack_on_emsgsize, true) | |
| 108 | |
| 109 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of | 105 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of |
| 110 // the first packet sent after receiving a packet, even if the sent packet is | 106 // the first packet sent after receiving a packet, even if the sent packet is |
| 111 // a retransmission | 107 // a retransmission |
| 112 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) | 108 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) |
| 113 | 109 |
| 114 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock | 110 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock |
| 115 // skew. | 111 // skew. |
| 116 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) | 112 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) |
| 117 | 113 |
| 118 // If true, only open limited number of quic sessions per epoll event. Leave the | 114 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 119 // rest to next event. This flag can be turned on only if | 115 // rest to next event. This flag can be turned on only if |
| 120 // --quic_buffer_packet_till_chlo is true. | 116 // --quic_buffer_packet_till_chlo is true. |
| 121 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) | 117 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) |
| 122 | 118 |
| 123 // If true, lazy allocate and early release memeory used in | 119 // If true, lazy allocate and early release memeory used in |
| 124 // QuicStreamSequencerBuffer to buffer incoming data. | 120 // QuicStreamSequencerBuffer to buffer incoming data. |
| 125 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) | 121 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) |
| 126 | 122 |
| 127 // If true, allow server address change if it is because of mapped ipv4 address. | 123 // If true, allow server address change if it is because of mapped ipv4 address. |
| 128 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) | 124 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) |
| 129 | 125 |
| 130 // If true, disables QUIC version less than 34. | 126 // If true, disables QUIC version less than 34. |
| 131 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 127 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| 132 | 128 |
| 133 // When true, decode the packet number from the largest received packet, rather | 129 // When true, decode the packet number from the largest received packet, rather |
| 134 // than the most recent. | 130 // than the most recent. |
| 135 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) | 131 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) |
| OLD | NEW |