| 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 bool FLAGS_quic_allow_oversized_packets_for_test = false; | 7 bool FLAGS_quic_allow_oversized_packets_for_test = false; |
| 8 | 8 |
| 9 // When true, the use time based loss detection instead of nack. | 9 // When true, the use time based loss detection instead of nack. |
| 10 bool FLAGS_quic_use_time_loss_detection = false; | 10 bool FLAGS_quic_use_time_loss_detection = false; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 bool FLAGS_enable_quic_stateless_reject_support = true; | 44 bool FLAGS_enable_quic_stateless_reject_support = true; |
| 45 | 45 |
| 46 // If true, flow controller may grow the receive window size if necessary. | 46 // If true, flow controller may grow the receive window size if necessary. |
| 47 bool FLAGS_quic_auto_tune_receive_window = true; | 47 bool FLAGS_quic_auto_tune_receive_window = true; |
| 48 | 48 |
| 49 // Limits QUIC's max CWND to 200 packets. | 49 // Limits QUIC's max CWND to 200 packets. |
| 50 bool FLAGS_quic_limit_max_cwnd = true; | 50 bool FLAGS_quic_limit_max_cwnd = true; |
| 51 | 51 |
| 52 // If true, require handshake confirmation for QUIC connections, functionally | 52 // If true, require handshake confirmation for QUIC connections, functionally |
| 53 // disabling 0-rtt handshakes. | 53 // disabling 0-rtt handshakes. |
| 54 // TODO(rtenneti): Enable this flag after fixing tests. | 54 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
| 55 bool FLAGS_quic_require_handshake_confirmation = false; | 55 bool FLAGS_quic_require_handshake_confirmation = false; |
| 56 | 56 |
| 57 // Disables special treatment of truncated acks, since older retransmissions are | 57 // Disables special treatment of truncated acks, since older retransmissions are |
| 58 // proactively discarded in QUIC. | 58 // proactively discarded in QUIC. |
| 59 bool FLAGS_quic_disable_truncated_ack_handling = true; | 59 bool FLAGS_quic_disable_truncated_ack_handling = true; |
| 60 | 60 |
| 61 // If true, after a server silo receives a packet from a migrated QUIC | 61 // If true, after a server silo receives a packet from a migrated QUIC |
| 62 // client, a GO_AWAY frame is sent to the client. | 62 // client, a GO_AWAY frame is sent to the client. |
| 63 bool FLAGS_send_goaway_after_client_migration = true; | 63 bool FLAGS_send_goaway_after_client_migration = true; |
| 64 | 64 |
| 65 // Close the connection instead of attempting to write a packet out of sequence | 65 // Close the connection instead of attempting to write a packet out of sequence |
| 66 // number order. | 66 // number order. |
| 67 bool FLAGS_quic_close_connection_out_of_order_sending = true; | 67 bool FLAGS_quic_close_connection_out_of_order_sending = true; |
| 68 | 68 |
| 69 // QUIC-specific flag. If true, Cubic's epoch is reset when the sender is | 69 // QUIC-specific flag. If true, Cubic's epoch is reset when the sender is |
| 70 // application-limited. | 70 // application-limited. |
| 71 bool FLAGS_reset_cubic_epoch_when_app_limited = true; | 71 bool FLAGS_reset_cubic_epoch_when_app_limited = true; |
| 72 | 72 |
| 73 // If true, use an interval set as the internal representation of a packet queue | 73 // If true, use an interval set as the internal representation of a packet queue |
| 74 // instead of a set. | 74 // instead of a set. |
| 75 bool FLAGS_quic_packet_queue_use_interval_set = true; | 75 bool FLAGS_quic_packet_queue_use_interval_set = true; |
| 76 | 76 |
| 77 // If true, Cubic's epoch is shifted when the sender is application-limited. | 77 // If true, Cubic's epoch is shifted when the sender is application-limited. |
| 78 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; | 78 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; |
| 79 | 79 |
| 80 // If true, accounts for available (implicitly opened) streams under a separate | 80 // If true, accounts for available (implicitly opened) streams under a separate |
| 81 // quota from open streams, which is 10 times larger. | 81 // quota from open streams, which is 10 times larger. |
| 82 bool FLAGS_allow_many_available_streams = true; | 82 bool FLAGS_allow_many_available_streams = true; |
| OLD | NEW |