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 #include "net/quic/quic_flags.h" | 5 #include "net/quic/quic_flags.h" |
6 | 6 |
7 bool FLAGS_quic_allow_oversized_packets_for_test = false; | 7 bool FLAGS_quic_allow_oversized_packets_for_test = false; |
8 | 8 |
9 // When true, the use time based loss detection instead of nack. | 9 // When true, the use time based loss detection instead of nack. |
10 bool FLAGS_quic_use_time_loss_detection = false; | 10 bool FLAGS_quic_use_time_loss_detection = false; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // If true, flow controller may grow the receive window size if necessary. | 46 // If true, flow controller may grow the receive window size if necessary. |
47 bool FLAGS_quic_auto_tune_receive_window = true; | 47 bool FLAGS_quic_auto_tune_receive_window = true; |
48 | 48 |
49 // Enables server-side path MTU discovery in QUIC. | 49 // Enables server-side path MTU discovery in QUIC. |
50 bool FLAGS_quic_do_path_mtu_discovery = true; | 50 bool FLAGS_quic_do_path_mtu_discovery = true; |
51 | 51 |
52 // Process QUIC frames as soon as they're parsed, instead of waiting for the | 52 // Process QUIC frames as soon as they're parsed, instead of waiting for the |
53 // packet's parsing to complete. | 53 // packet's parsing to complete. |
54 bool FLAGS_quic_process_frames_inline = true; | 54 bool FLAGS_quic_process_frames_inline = true; |
55 | 55 |
56 // If true, client IP migration is allowed in QUIC. | |
57 bool FLAGS_quic_allow_ip_migration = true; | |
58 | |
59 // Estimate that only 60% of QUIC's receive buffer is usable as opposed to 95%. | 56 // Estimate that only 60% of QUIC's receive buffer is usable as opposed to 95%. |
60 bool FLAGS_quic_use_conservative_receive_buffer = true; | 57 bool FLAGS_quic_use_conservative_receive_buffer = true; |
61 | 58 |
62 // Limits QUIC's max CWND to 200 packets. | 59 // Limits QUIC's max CWND to 200 packets. |
63 bool FLAGS_quic_limit_max_cwnd = true; | 60 bool FLAGS_quic_limit_max_cwnd = true; |
64 | 61 |
65 // If true, instead of enforcing a fixed limit of 200 between the last | 62 // If true, instead of enforcing a fixed limit of 200 between the last |
66 // client-created stream ID and the next one, calculate the difference based on | 63 // client-created stream ID and the next one, calculate the difference based on |
67 // get_max_open_streams(). | 64 // get_max_open_streams(). |
68 bool FLAGS_exact_stream_id_delta = true; | 65 bool FLAGS_exact_stream_id_delta = true; |
69 | 66 |
70 // If true, require handshake confirmation for QUIC connections, functionally | 67 // If true, require handshake confirmation for QUIC connections, functionally |
71 // disabling 0-rtt handshakes. | 68 // disabling 0-rtt handshakes. |
72 // TODO(rtenneti): Enable this flag after fixing tests. | 69 // TODO(rtenneti): Enable this flag after fixing tests. |
73 bool FLAGS_quic_require_handshake_confirmation = false; | 70 bool FLAGS_quic_require_handshake_confirmation = false; |
74 | 71 |
75 // Disables special treatment of truncated acks, since older retransmissions are | 72 // Disables special treatment of truncated acks, since older retransmissions are |
76 // proactively discarded in QUIC. | 73 // proactively discarded in QUIC. |
77 bool FLAGS_quic_disable_truncated_ack_handling = true; | 74 bool FLAGS_quic_disable_truncated_ack_handling = true; |
78 | 75 |
79 // If true, after a server silo receives a packet from a migrated QUIC | 76 // If true, after a server silo receives a packet from a migrated QUIC |
80 // client, a GO_AWAY frame is sent to the client. | 77 // client, a GO_AWAY frame is sent to the client. |
81 bool FLAGS_send_goaway_after_client_migration = true; | 78 bool FLAGS_send_goaway_after_client_migration = true; |
82 | 79 |
83 // Close the connection instead of attempting to write a packet out of sequence | 80 // Close the connection instead of attempting to write a packet out of sequence |
84 // number order. | 81 // number order. |
85 bool FLAGS_quic_close_connection_out_of_order_sending = true; | 82 bool FLAGS_quic_close_connection_out_of_order_sending = true; |
OLD | NEW |