| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // AES-GCM. | 82 // AES-GCM. |
| 83 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; | 83 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; |
| 84 | 84 |
| 85 // If true, QUIC will use newly refactored TCP sender code. | 85 // If true, QUIC will use newly refactored TCP sender code. |
| 86 bool FLAGS_quic_use_new_tcp_sender = true; | 86 bool FLAGS_quic_use_new_tcp_sender = true; |
| 87 | 87 |
| 88 // If true, the QUIC dispatcher will directly send version negotiation packets | 88 // If true, the QUIC dispatcher will directly send version negotiation packets |
| 89 // without needing to create a QUIC session first. | 89 // without needing to create a QUIC session first. |
| 90 bool FLAGS_quic_stateless_version_negotiation = true; | 90 bool FLAGS_quic_stateless_version_negotiation = true; |
| 91 | 91 |
| 92 // QUIC Ack Decimation with tolerance for packet reordering. | |
| 93 bool FLAGS_quic_ack_decimation2 = true; | |
| 94 | |
| 95 // If true, QUIC connections will defer responding to ACKs to their send alarms. | 92 // If true, QUIC connections will defer responding to ACKs to their send alarms. |
| 96 bool FLAGS_quic_connection_defer_ack_response = true; | 93 bool FLAGS_quic_connection_defer_ack_response = true; |
| 97 | 94 |
| 98 // If true, SpdyFramer will call OnStreamEnd from SpdyFramerVisitorInterface | |
| 99 // instead of empty-data sentinel calls when the stream is to be ended. | |
| 100 bool FLAGS_spdy_on_stream_end = true; | |
| 101 | |
| 102 // If true, QuicCryptoServerConfig will use cached compressed certificates | |
| 103 // if the uncompressed certs to be compressed hits the cache. | |
| 104 bool FLAGS_quic_use_cached_compressed_certs = true; | |
| 105 | |
| 106 // Enable a connection option allowing connections to time out if more than 5 | 95 // Enable a connection option allowing connections to time out if more than 5 |
| 107 // consecutive RTOs are sent. | 96 // consecutive RTOs are sent. |
| 108 bool FLAGS_quic_enable_rto_timeout = true; | 97 bool FLAGS_quic_enable_rto_timeout = true; |
| 109 | 98 |
| 110 // Try to use the socket timestamp to determine the time a packet was | 99 // Try to use the socket timestamp to determine the time a packet was |
| 111 // received instead of Now(). | 100 // received instead of Now(). |
| 112 bool FLAGS_quic_use_socket_timestamp = true; | 101 bool FLAGS_quic_use_socket_timestamp = true; |
| 113 | 102 |
| 114 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | 103 // Resend 0RTT requests in response to an REJ that re-establishes encryption. |
| 115 bool FLAGS_quic_reply_to_rej = true; | 104 bool FLAGS_quic_reply_to_rej = true; |
| 116 | 105 |
| 117 // If true, QuicFramer will ignore invalid error codes when processing GoAway, | 106 // If true, QuicFramer will ignore invalid error codes when processing GoAway, |
| 118 // ConnectionClose, and RstStream frames. | 107 // ConnectionClose, and RstStream frames. |
| 119 bool FLAGS_quic_ignore_invalid_error_code = true; | 108 bool FLAGS_quic_ignore_invalid_error_code = true; |
| 109 |
| 110 // If true, QUIC connections can do bandwidth resumption with an initial window |
| 111 // of < 10 packets. |
| 112 bool FLAGS_quic_no_lower_bw_resumption_limit = true; |
| 113 |
| 114 // Limit the ruction of slow start large reduction to 1/2 the current CWND once |
| 115 // the initial flight has been acked. |
| 116 bool FLAGS_quic_sslr_limit_reduction = true; |
| 117 |
| 118 // Simplify QUIC's loss detection by combining time and nack based portions. |
| 119 bool FLAGS_quic_simplify_loss_detection = true; |
| 120 |
| 121 // If true, do not check HasUnackedPackets on retransmission timeout. |
| 122 bool FLAGS_quic_always_has_unacked_packets_on_timeout = true; |
| OLD | NEW |