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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // If true, the QUIC dispatcher will directly send version negotiation packets | 98 // If true, the QUIC dispatcher will directly send version negotiation packets |
99 // without needing to create a QUIC session first. | 99 // without needing to create a QUIC session first. |
100 bool FLAGS_quic_stateless_version_negotiation = false; | 100 bool FLAGS_quic_stateless_version_negotiation = false; |
101 | 101 |
102 // QUIC Ack Decimation with tolerance for packet reordering. | 102 // QUIC Ack Decimation with tolerance for packet reordering. |
103 bool FLAGS_quic_ack_decimation2 = true; | 103 bool FLAGS_quic_ack_decimation2 = true; |
104 | 104 |
105 // If true, QUIC connections will defer responding to ACKs to their send alarms. | 105 // If true, QUIC connections will defer responding to ACKs to their send alarms. |
106 bool FLAGS_quic_connection_defer_ack_response = true; | 106 bool FLAGS_quic_connection_defer_ack_response = true; |
107 | 107 |
108 // If true, calls to QuicAlarm::Cancel don't do anything if the alarm is not | |
109 // set. | |
110 bool FLAGS_quic_only_cancel_set_alarms = true; | |
111 | |
112 // Simplify QUIC's write path for inplace encryption now that FEC is gone. | 108 // Simplify QUIC's write path for inplace encryption now that FEC is gone. |
113 bool FLAGS_quic_inplace_encryption2 = true; | 109 bool FLAGS_quic_inplace_encryption2 = true; |
114 | 110 |
115 // If true, SpdyFramer will call OnStreamEnd from SpdyFramerVisitorInterface | 111 // If true, SpdyFramer will call OnStreamEnd from SpdyFramerVisitorInterface |
116 // instead of empty-data sentinel calls when the stream is to be ended. | 112 // instead of empty-data sentinel calls when the stream is to be ended. |
117 bool FLAGS_spdy_on_stream_end = true; | 113 bool FLAGS_spdy_on_stream_end = true; |
118 | 114 |
119 // If true, QuicCryptoServerConfig will use cached compressed certificates | 115 // If true, QuicCryptoServerConfig will use cached compressed certificates |
120 // if the uncompressed certs to be compressed hits the cache. | 116 // if the uncompressed certs to be compressed hits the cache. |
121 bool FLAGS_quic_use_cached_compressed_certs = true; | 117 bool FLAGS_quic_use_cached_compressed_certs = true; |
(...skipping 13 matching lines...) Expand all Loading... |
135 // Try to use the socket timestamp to determine the time a packet was | 131 // Try to use the socket timestamp to determine the time a packet was |
136 // received instead of Now(). | 132 // received instead of Now(). |
137 bool FLAGS_quic_use_socket_timestamp = true; | 133 bool FLAGS_quic_use_socket_timestamp = true; |
138 | 134 |
139 // If true, handling of errors from invalid stream frames is done in | 135 // If true, handling of errors from invalid stream frames is done in |
140 // one place in QuicStreamSequencer::OnStreamFrame. | 136 // one place in QuicStreamSequencer::OnStreamFrame. |
141 bool FLAGS_quic_consolidate_onstreamframe_errors = true; | 137 bool FLAGS_quic_consolidate_onstreamframe_errors = true; |
142 | 138 |
143 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | 139 // Resend 0RTT requests in response to an REJ that re-establishes encryption. |
144 bool FLAGS_quic_reply_to_rej = true; | 140 bool FLAGS_quic_reply_to_rej = true; |
OLD | NEW |