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 // No longer call OnCanWrite when connection level flow control unblocks in | |
57 // QuicSession. | |
58 bool FLAGS_quic_dont_write_when_flow_unblocked = true; | |
59 | |
60 // If true, client IP migration is allowed in QUIC. | 56 // If true, client IP migration is allowed in QUIC. |
61 bool FLAGS_quic_allow_ip_migration = true; | 57 bool FLAGS_quic_allow_ip_migration = true; |
62 | 58 |
63 // Estimate that only 60% of QUIC's receive buffer is usable as opposed to 95%. | 59 // Estimate that only 60% of QUIC's receive buffer is usable as opposed to 95%. |
64 bool FLAGS_quic_use_conservative_receive_buffer = true; | 60 bool FLAGS_quic_use_conservative_receive_buffer = true; |
65 | 61 |
66 // Limits QUIC's max CWND to 200 packets. | 62 // Limits QUIC's max CWND to 200 packets. |
67 bool FLAGS_quic_limit_max_cwnd = true; | 63 bool FLAGS_quic_limit_max_cwnd = true; |
68 | 64 |
69 // If true, instead of enforcing a fixed limit of 200 between the last | 65 // If true, instead of enforcing a fixed limit of 200 between the last |
70 // client-created stream ID and the next one, calculate the difference based on | 66 // client-created stream ID and the next one, calculate the difference based on |
71 // get_max_open_streams(). | 67 // get_max_open_streams(). |
72 bool FLAGS_exact_stream_id_delta = true; | 68 bool FLAGS_exact_stream_id_delta = true; |
73 | 69 |
74 // If true, require handshake confirmation for QUIC connections, functionally | 70 // If true, require handshake confirmation for QUIC connections, functionally |
75 // disabling 0-rtt handshakes. | 71 // disabling 0-rtt handshakes. |
76 // TODO(rtenneti): Enable this flag after fixing tests. | 72 // TODO(rtenneti): Enable this flag after fixing tests. |
77 bool FLAGS_quic_require_handshake_confirmation = false; | 73 bool FLAGS_quic_require_handshake_confirmation = false; |
78 | 74 |
79 // Disables special treatment of truncated acks, since older retransmissions are | 75 // Disables special treatment of truncated acks, since older retransmissions are |
80 // proactively discarded in QUIC. | 76 // proactively discarded in QUIC. |
81 bool FLAGS_quic_disable_truncated_ack_handling = true; | 77 bool FLAGS_quic_disable_truncated_ack_handling = true; |
82 | 78 |
83 // If true, after a server silo receives a packet from a migrated QUIC | 79 // If true, after a server silo receives a packet from a migrated QUIC |
84 // client, a GO_AWAY frame is sent to the client. | 80 // client, a GO_AWAY frame is sent to the client. |
85 bool FLAGS_send_goaway_after_client_migration = true; | 81 bool FLAGS_send_goaway_after_client_migration = true; |
OLD | NEW |