Chromium Code Reviews| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 // skew. | 99 // skew. |
| 100 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) | 100 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) |
| 101 | 101 |
| 102 // If true, only open limited number of quic sessions per epoll event. Leave the | 102 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 103 // rest to next event. This flag can be turned on only if | 103 // rest to next event. This flag can be turned on only if |
| 104 // --quic_buffer_packet_till_chlo is true. | 104 // --quic_buffer_packet_till_chlo is true. |
| 105 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) | 105 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) |
| 106 | 106 |
| 107 // If true, lazy allocate and early release memeory used in | 107 // If true, lazy allocate and early release memeory used in |
| 108 // QuicStreamSequencerBuffer to buffer incoming data. | 108 // QuicStreamSequencerBuffer to buffer incoming data. |
| 109 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) | 109 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, false) |
|
Ryan Hamilton
2016/09/20 22:25:50
Can you ping danzh? IIRC she's doing some chrome-s
Jana
2016/09/20 23:12:51
Will do.
| |
| 110 | 110 |
| 111 // 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. |
| 112 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) |
| 113 | 113 |
| 114 // If true, disables QUIC version less than 34. | 114 // If true, disables QUIC version less than 34. |
| 115 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 115 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| 116 | 116 |
| 117 // 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 |
| 118 // than the most recent. | 118 // than the most recent. |
| 119 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) | 119 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) |
| 120 | 120 |
| 121 // Only close the connection on the 5th RTO client side when the 5RTO option | 121 // Only close the connection on the 5th RTO client side when the 5RTO option |
| 122 // is enabled. | 122 // is enabled. |
| 123 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 123 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
| 124 | 124 |
| 125 // If true, QUIC server push will enabled by default. | 125 // If true, QUIC server push will enabled by default. |
| 126 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 126 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, false) |
| 127 | 127 |
| 128 // Only inform the QuicSentPacketManager of packets that were sent, | 128 // Only inform the QuicSentPacketManager of packets that were sent, |
| 129 // not those that we tried to send. | 129 // not those that we tried to send. |
| 130 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) | 130 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, false) |
| 131 | 131 |
| 132 // If true, connection is closed when packet generator is trying to | 132 // If true, connection is closed when packet generator is trying to |
| 133 // add a frame which alone cannot fit into a packet. | 133 // add a frame which alone cannot fit into a packet. |
| 134 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_huge_frames, true) | 134 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_huge_frames, true) |
| 135 | 135 |
| 136 // As the Linux kernel does, limit QUIC's Cubic congestion control to | 136 // As the Linux kernel does, limit QUIC's Cubic congestion control to |
| 137 // only increase the CWND 1 packet for every two packets acked. | 137 // only increase the CWND 1 packet for every two packets acked. |
| 138 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true) | 138 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true) |
| OLD | NEW |