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 // When true, the use time based loss detection instead of nack. | 7 // When true, the use time based loss detection instead of nack. |
8 bool FLAGS_quic_use_time_loss_detection = false; | 8 bool FLAGS_quic_use_time_loss_detection = false; |
9 | 9 |
10 // If true, it will return as soon as an error is detected while validating | 10 // If true, it will return as soon as an error is detected while validating |
(...skipping 21 matching lines...) Expand all Loading... |
32 // Maximum number of connections on the time-wait list. A negative value implies | 32 // Maximum number of connections on the time-wait list. A negative value implies |
33 // no configured limit. | 33 // no configured limit. |
34 int64_t FLAGS_quic_time_wait_list_max_connections = 600000; | 34 int64_t FLAGS_quic_time_wait_list_max_connections = 600000; |
35 | 35 |
36 // Enables server-side support for QUIC stateless rejects. | 36 // Enables server-side support for QUIC stateless rejects. |
37 bool FLAGS_enable_quic_stateless_reject_support = true; | 37 bool FLAGS_enable_quic_stateless_reject_support = true; |
38 | 38 |
39 // This flag is not in use, just to keep consistency for shared code. | 39 // This flag is not in use, just to keep consistency for shared code. |
40 bool FLAGS_quic_always_log_bugs_for_tests = false; | 40 bool FLAGS_quic_always_log_bugs_for_tests = false; |
41 | 41 |
42 // If true, flow controller may grow the receive window size if necessary. | |
43 bool FLAGS_quic_auto_tune_receive_window = true; | |
44 | |
45 // If true, multipath is enabled for the connection. | 42 // If true, multipath is enabled for the connection. |
46 bool FLAGS_quic_enable_multipath = false; | 43 bool FLAGS_quic_enable_multipath = false; |
47 | 44 |
48 // If true, require handshake confirmation for QUIC connections, functionally | 45 // If true, require handshake confirmation for QUIC connections, functionally |
49 // disabling 0-rtt handshakes. | 46 // disabling 0-rtt handshakes. |
50 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. | 47 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
51 bool FLAGS_quic_require_handshake_confirmation = false; | 48 bool FLAGS_quic_require_handshake_confirmation = false; |
52 | 49 |
53 // If true, Cubic's epoch is shifted when the sender is application-limited. | 50 // If true, Cubic's epoch is shifted when the sender is application-limited. |
54 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; | 51 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // Try to use the socket timestamp to determine the time a packet was | 114 // Try to use the socket timestamp to determine the time a packet was |
118 // received instead of Now(). | 115 // received instead of Now(). |
119 bool FLAGS_quic_use_socket_timestamp = true; | 116 bool FLAGS_quic_use_socket_timestamp = true; |
120 | 117 |
121 // If true, handling of errors from invalid stream frames is done in | 118 // If true, handling of errors from invalid stream frames is done in |
122 // one place in QuicStreamSequencer::OnStreamFrame. | 119 // one place in QuicStreamSequencer::OnStreamFrame. |
123 bool FLAGS_quic_consolidate_onstreamframe_errors = true; | 120 bool FLAGS_quic_consolidate_onstreamframe_errors = true; |
124 | 121 |
125 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | 122 // Resend 0RTT requests in response to an REJ that re-establishes encryption. |
126 bool FLAGS_quic_reply_to_rej = true; | 123 bool FLAGS_quic_reply_to_rej = true; |
OLD | NEW |