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 28 matching lines...) Expand all Loading... |
39 // Maximum number of connections on the time-wait list. A negative value implies | 39 // Maximum number of connections on the time-wait list. A negative value implies |
40 // no configured limit. | 40 // no configured limit. |
41 int64 FLAGS_quic_time_wait_list_max_connections = 600000; | 41 int64 FLAGS_quic_time_wait_list_max_connections = 600000; |
42 | 42 |
43 // Enables server-side support for QUIC stateless rejects. | 43 // Enables server-side support for QUIC stateless rejects. |
44 bool FLAGS_enable_quic_stateless_reject_support = true; | 44 bool FLAGS_enable_quic_stateless_reject_support = true; |
45 | 45 |
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 sending of FEC packet only when FEC alarm goes off. | |
50 bool FLAGS_quic_send_fec_packet_only_on_fec_alarm = true; | |
51 | |
52 // Enables server-side path MTU discovery in QUIC. | 49 // Enables server-side path MTU discovery in QUIC. |
53 bool FLAGS_quic_do_path_mtu_discovery = true; | 50 bool FLAGS_quic_do_path_mtu_discovery = true; |
54 | 51 |
55 // 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 |
56 // packet's parsing to complete. | 53 // packet's parsing to complete. |
57 bool FLAGS_quic_process_frames_inline = true; | 54 bool FLAGS_quic_process_frames_inline = true; |
58 | 55 |
59 // No longer call OnCanWrite when connection level flow control unblocks in | 56 // No longer call OnCanWrite when connection level flow control unblocks in |
60 // QuicSession. | 57 // QuicSession. |
61 bool FLAGS_quic_dont_write_when_flow_unblocked = true; | 58 bool FLAGS_quic_dont_write_when_flow_unblocked = true; |
62 | 59 |
63 // If true, client IP migration is allowed in QUIC. | 60 // If true, client IP migration is allowed in QUIC. |
64 bool FLAGS_quic_allow_ip_migration = true; | 61 bool FLAGS_quic_allow_ip_migration = true; |
65 | 62 |
66 // Estimate that only 60% of QUIC's receive buffer is usable as opposed to 95%. | 63 // Estimate that only 60% of QUIC's receive buffer is usable as opposed to 95%. |
67 bool FLAGS_quic_use_conservative_receive_buffer = true; | 64 bool FLAGS_quic_use_conservative_receive_buffer = true; |
68 | 65 |
69 // If true, default quic_time_wait_list_seconds (time to keep a connection ID on | 66 // If true, default quic_time_wait_list_seconds (time to keep a connection ID on |
70 // the time-wait list) is 200 seconds rather than 5 seconds and increase the | 67 // the time-wait list) is 200 seconds rather than 5 seconds and increase the |
71 // maximum time-wait list size to 600,000. | 68 // maximum time-wait list size to 600,000. |
72 bool FLAGS_increase_time_wait_list = true; | 69 bool FLAGS_increase_time_wait_list = true; |
73 | 70 |
74 // Limits QUIC's max CWND to 200 packets. | 71 // Limits QUIC's max CWND to 200 packets. |
75 bool FLAGS_quic_limit_max_cwnd = true; | 72 bool FLAGS_quic_limit_max_cwnd = true; |
76 | 73 |
77 // If true, don't serialize invalid HTTP headers when converting HTTP to SPDY. | 74 // If true, don't serialize invalid HTTP headers when converting HTTP to SPDY. |
78 bool FLAGS_spdy_strip_invalid_headers = true; | 75 bool FLAGS_spdy_strip_invalid_headers = true; |
| 76 |
| 77 // If true, instead of enforcing a fixed limit of 200 between the last |
| 78 // client-created stream ID and the next one, calculate the difference based on |
| 79 // get_max_open_streams(). |
| 80 bool FLAGS_exact_stream_id_delta = true; |
| 81 |
| 82 // Limits the pacing burst out of quiescence to the current congestion window in |
| 83 // packets. |
| 84 bool FLAGS_quic_limit_pacing_burst = true; |
| 85 |
| 86 // If true, require handshake confirmation for QUIC connections, functionally |
| 87 // disabling 0-rtt handshakes. |
| 88 // TODO(rtenneti): Enable this flag after fixing tests. |
| 89 bool FLAGS_quic_require_handshake_confirmation = false; |
OLD | NEW |