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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 bool FLAGS_spdy_on_stream_end = true; | 100 bool FLAGS_spdy_on_stream_end = true; |
101 | 101 |
102 // If true, QuicCryptoServerConfig will use cached compressed certificates | 102 // If true, QuicCryptoServerConfig will use cached compressed certificates |
103 // if the uncompressed certs to be compressed hits the cache. | 103 // if the uncompressed certs to be compressed hits the cache. |
104 bool FLAGS_quic_use_cached_compressed_certs = true; | 104 bool FLAGS_quic_use_cached_compressed_certs = true; |
105 | 105 |
106 // Enable a connection option allowing connections to time out if more than 5 | 106 // Enable a connection option allowing connections to time out if more than 5 |
107 // consecutive RTOs are sent. | 107 // consecutive RTOs are sent. |
108 bool FLAGS_quic_enable_rto_timeout = true; | 108 bool FLAGS_quic_enable_rto_timeout = true; |
109 | 109 |
110 // Use a byte conservation approach instead of packet conservation in the | |
111 // Slow Start Large Reduction experiment. | |
112 bool FLAGS_quic_sslr_byte_conservation = true; | |
113 | |
114 // Try to use the socket timestamp to determine the time a packet was | 110 // Try to use the socket timestamp to determine the time a packet was |
115 // received instead of Now(). | 111 // received instead of Now(). |
116 bool FLAGS_quic_use_socket_timestamp = true; | 112 bool FLAGS_quic_use_socket_timestamp = true; |
117 | 113 |
118 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | 114 // Resend 0RTT requests in response to an REJ that re-establishes encryption. |
119 bool FLAGS_quic_reply_to_rej = true; | 115 bool FLAGS_quic_reply_to_rej = true; |
120 | 116 |
121 // If true, QuicFramer will ignore invalid error codes when processing GoAway, | 117 // If true, QuicFramer will ignore invalid error codes when processing GoAway, |
122 // ConnectionClose, and RstStream frames. | 118 // ConnectionClose, and RstStream frames. |
123 bool FLAGS_quic_ignore_invalid_error_code = true; | 119 bool FLAGS_quic_ignore_invalid_error_code = true; |
OLD | NEW |