| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 // If true, QUIC will measure head of line (HOL) blocking due between | 50 // If true, QUIC will measure head of line (HOL) blocking due between |
| 51 // streams due to packet losses on the headers stream. The | 51 // streams due to packet losses on the headers stream. The |
| 52 // measurements will be surfaced via UMA histogram | 52 // measurements will be surfaced via UMA histogram |
| 53 // Net.QuicSession.HeadersHOLBlockedTime. | 53 // Net.QuicSession.HeadersHOLBlockedTime. |
| 54 QUIC_FLAG(bool, FLAGS_quic_measure_headers_hol_blocking_time, true) | 54 QUIC_FLAG(bool, FLAGS_quic_measure_headers_hol_blocking_time, true) |
| 55 | 55 |
| 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. | |
| 60 QUIC_FLAG(bool, FLAGS_quic_never_write_unencrypted_data, true) | |
| 61 | |
| 62 // If true, QUIC connections can do bandwidth resumption with an initial window | 59 // If true, QUIC connections can do bandwidth resumption with an initial window |
| 63 // of < 10 packets. | 60 // of < 10 packets. |
| 64 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) | 61 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) |
| 65 | 62 |
| 66 // Only set one alarm for sending at once, either the send alarm or | 63 // Only set one alarm for sending at once, either the send alarm or |
| 67 // retransmission alarm. Disabled because it breaks QUIC time loss detection. | 64 // retransmission alarm. Disabled because it breaks QUIC time loss detection. |
| 68 QUIC_FLAG(bool, FLAGS_quic_only_one_sending_alarm, false) | 65 QUIC_FLAG(bool, FLAGS_quic_only_one_sending_alarm, false) |
| 69 | 66 |
| 70 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 67 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
| 71 // flags. | 68 // flags. |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 // skew. | 162 // skew. |
| 166 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) | 163 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) |
| 167 | 164 |
| 168 // If true, only open limited number of quic sessions per epoll event. Leave the | 165 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 169 // rest to next event. This flag can be turned on only if | 166 // rest to next event. This flag can be turned on only if |
| 170 // --quic_buffer_packet_till_chlo is true. | 167 // --quic_buffer_packet_till_chlo is true. |
| 171 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) | 168 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) |
| 172 | 169 |
| 173 // If true, disables QUIC version less than 34. | 170 // If true, disables QUIC version less than 34. |
| 174 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 171 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| OLD | NEW |