| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) | 85 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) |
| 86 | 86 |
| 87 // If true, fix a bug with which QuicStreamSequencerBuffer can\'t release block | 87 // If true, fix a bug with which QuicStreamSequencerBuffer can\'t release block |
| 88 // memory in time. | 88 // memory in time. |
| 89 QUIC_FLAG(bool, FLAGS_quic_sequencer_buffer_retire_block_in_time, true) | 89 QUIC_FLAG(bool, FLAGS_quic_sequencer_buffer_retire_block_in_time, true) |
| 90 | 90 |
| 91 // If true, close QUIC connection explicitly on write error due to packet being | 91 // If true, close QUIC connection explicitly on write error due to packet being |
| 92 // too large. | 92 // too large. |
| 93 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_packet_too_large, true) | 93 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_packet_too_large, true) |
| 94 | 94 |
| 95 // If true, close the write side of a QUIC spdy stream when all queued bytes | |
| 96 // have been written and a FIN has been sent. | |
| 97 QUIC_FLAG(bool, FLAGS_quic_close_stream_after_writing_queued_data, true) | |
| 98 | |
| 99 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of | 95 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of |
| 100 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. | 96 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. |
| 101 QUIC_FLAG(bool, FLAGS_quic_limit_frame_gaps_in_buffer, true) | 97 QUIC_FLAG(bool, FLAGS_quic_limit_frame_gaps_in_buffer, true) |
| 102 | 98 |
| 103 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public | 99 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public |
| 104 // flag. | 100 // flag. |
| 105 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks, true) | 101 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks, true) |
| 106 | 102 |
| 107 // If true, use the CHLO packet size, not message size when determining how | 103 // If true, use the CHLO packet size, not message size when determining how |
| 108 // large a REJ can be. | 104 // large a REJ can be. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 145 |
| 150 // If true, lazy allocate and early release memeory used in | 146 // If true, lazy allocate and early release memeory used in |
| 151 // QuicStreamSequencerBuffer to buffer incoming data. | 147 // QuicStreamSequencerBuffer to buffer incoming data. |
| 152 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) | 148 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) |
| 153 | 149 |
| 154 // If true, allow server address change if it is because of mapped ipv4 address. | 150 // If true, allow server address change if it is because of mapped ipv4 address. |
| 155 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) | 151 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) |
| 156 | 152 |
| 157 // If true, disables QUIC version less than 34. | 153 // If true, disables QUIC version less than 34. |
| 158 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 154 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| OLD | NEW |