| 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, it will return as soon as an error is detected while validating | 10 // If true, it will return as soon as an error is detected while validating |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // If true, disable pacing in QUIC. | 56 // If true, disable pacing in QUIC. |
| 57 QUIC_FLAG(bool, FLAGS_quic_disable_pacing_for_perf_tests, false) | 57 QUIC_FLAG(bool, FLAGS_quic_disable_pacing_for_perf_tests, false) |
| 58 | 58 |
| 59 // If true, Close the connection instead of writing unencrypted stream data. | 59 // If true, Close the connection instead of writing unencrypted stream data. |
| 60 QUIC_FLAG(bool, FLAGS_quic_never_write_unencrypted_data, true) | 60 QUIC_FLAG(bool, FLAGS_quic_never_write_unencrypted_data, true) |
| 61 | 61 |
| 62 // If true, QUIC connections can do bandwidth resumption with an initial window | 62 // If true, QUIC connections can do bandwidth resumption with an initial window |
| 63 // of < 10 packets. | 63 // of < 10 packets. |
| 64 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) | 64 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) |
| 65 | 65 |
| 66 // Use largest acked in the most recent ack instead of largest acked ever in | |
| 67 // loss recovery. | |
| 68 QUIC_FLAG(bool, FLAGS_quic_loss_recovery_use_largest_acked, true) | |
| 69 | |
| 70 // Only set one alarm for sending at once, either the send alarm or | 66 // Only set one alarm for sending at once, either the send alarm or |
| 71 // retransmission alarm. Disabled because it breaks QUIC time loss detection. | 67 // retransmission alarm. Disabled because it breaks QUIC time loss detection. |
| 72 QUIC_FLAG(bool, FLAGS_quic_only_one_sending_alarm, false) | 68 QUIC_FLAG(bool, FLAGS_quic_only_one_sending_alarm, false) |
| 73 | 69 |
| 74 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 70 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
| 75 // flags. | 71 // flags. |
| 76 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true) | 72 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true) |
| 77 | 73 |
| 78 // If true, QUIC will use cheap stateless rejects without creating a full | 74 // If true, QUIC will use cheap stateless rejects without creating a full |
| 79 // connection. | 75 // connection. |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) | 162 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) |
| 167 | 163 |
| 168 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock | 164 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock |
| 169 // skew. | 165 // skew. |
| 170 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) | 166 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) |
| 171 | 167 |
| 172 // If true, only open limited number of quic sessions per epoll event. Leave the | 168 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 173 // rest to next event. This flag can be turned on only if | 169 // rest to next event. This flag can be turned on only if |
| 174 // --quic_buffer_packet_till_chlo is true. | 170 // --quic_buffer_packet_till_chlo is true. |
| 175 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) | 171 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) |
| OLD | NEW |