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, a QUIC connection option with tag DHDT can be used to disable | |
43 // HPACK\'s dynamic table. | |
ramant (doing other things)
2016/04/11 18:17:49
nit: Why back slash?
| |
44 bool FLAGS_quic_disable_hpack_dynamic_table = false; | |
45 | |
42 // If true, multipath is enabled for the connection. | 46 // If true, multipath is enabled for the connection. |
43 bool FLAGS_quic_enable_multipath = false; | 47 bool FLAGS_quic_enable_multipath = false; |
44 | 48 |
45 // If true, require handshake confirmation for QUIC connections, functionally | 49 // If true, require handshake confirmation for QUIC connections, functionally |
46 // disabling 0-rtt handshakes. | 50 // disabling 0-rtt handshakes. |
47 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. | 51 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
48 bool FLAGS_quic_require_handshake_confirmation = false; | 52 bool FLAGS_quic_require_handshake_confirmation = false; |
49 | 53 |
50 // If true, Cubic's epoch is shifted when the sender is application-limited. | 54 // If true, Cubic's epoch is shifted when the sender is application-limited. |
51 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; | 55 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 // Try to use the socket timestamp to determine the time a packet was | 118 // Try to use the socket timestamp to determine the time a packet was |
115 // received instead of Now(). | 119 // received instead of Now(). |
116 bool FLAGS_quic_use_socket_timestamp = true; | 120 bool FLAGS_quic_use_socket_timestamp = true; |
117 | 121 |
118 // If true, handling of errors from invalid stream frames is done in | 122 // If true, handling of errors from invalid stream frames is done in |
119 // one place in QuicStreamSequencer::OnStreamFrame. | 123 // one place in QuicStreamSequencer::OnStreamFrame. |
120 bool FLAGS_quic_consolidate_onstreamframe_errors = true; | 124 bool FLAGS_quic_consolidate_onstreamframe_errors = true; |
121 | 125 |
122 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | 126 // Resend 0RTT requests in response to an REJ that re-establishes encryption. |
123 bool FLAGS_quic_reply_to_rej = true; | 127 bool FLAGS_quic_reply_to_rej = true; |
OLD | NEW |