| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // Enables server-side path MTU discovery in QUIC. | 49 // Enables server-side path MTU discovery in QUIC. |
| 50 bool FLAGS_quic_do_path_mtu_discovery = true; | 50 bool FLAGS_quic_do_path_mtu_discovery = true; |
| 51 | 51 |
| 52 // Process QUIC frames as soon as they're parsed, instead of waiting for the | 52 // Process QUIC frames as soon as they're parsed, instead of waiting for the |
| 53 // packet's parsing to complete. | 53 // packet's parsing to complete. |
| 54 bool FLAGS_quic_process_frames_inline = true; | 54 bool FLAGS_quic_process_frames_inline = true; |
| 55 | 55 |
| 56 // No longer call OnCanWrite when connection level flow control unblocks in | |
| 57 // QuicSession. | |
| 58 bool FLAGS_quic_dont_write_when_flow_unblocked = true; | |
| 59 | |
| 60 // If true, client IP migration is allowed in QUIC. | |
| 61 bool FLAGS_quic_allow_ip_migration = true; | |
| 62 | |
| 63 // Estimate that only 60% of QUIC's receive buffer is usable as opposed to 95%. | 56 // Estimate that only 60% of QUIC's receive buffer is usable as opposed to 95%. |
| 64 bool FLAGS_quic_use_conservative_receive_buffer = true; | 57 bool FLAGS_quic_use_conservative_receive_buffer = true; |
| 65 | 58 |
| 66 // Limits QUIC's max CWND to 200 packets. | 59 // Limits QUIC's max CWND to 200 packets. |
| 67 bool FLAGS_quic_limit_max_cwnd = true; | 60 bool FLAGS_quic_limit_max_cwnd = true; |
| 68 | 61 |
| 69 // If true, instead of enforcing a fixed limit of 200 between the last | 62 // If true, instead of enforcing a fixed limit of 200 between the last |
| 70 // client-created stream ID and the next one, calculate the difference based on | 63 // client-created stream ID and the next one, calculate the difference based on |
| 71 // get_max_open_streams(). | 64 // get_max_open_streams(). |
| 72 bool FLAGS_exact_stream_id_delta = true; | 65 bool FLAGS_exact_stream_id_delta = true; |
| 73 | 66 |
| 74 // If true, require handshake confirmation for QUIC connections, functionally | 67 // If true, require handshake confirmation for QUIC connections, functionally |
| 75 // disabling 0-rtt handshakes. | 68 // disabling 0-rtt handshakes. |
| 76 // TODO(rtenneti): Enable this flag after fixing tests. | 69 // TODO(rtenneti): Enable this flag after fixing tests. |
| 77 bool FLAGS_quic_require_handshake_confirmation = false; | 70 bool FLAGS_quic_require_handshake_confirmation = false; |
| 78 | 71 |
| 79 // Disables special treatment of truncated acks, since older retransmissions are | 72 // Disables special treatment of truncated acks, since older retransmissions are |
| 80 // proactively discarded in QUIC. | 73 // proactively discarded in QUIC. |
| 81 bool FLAGS_quic_disable_truncated_ack_handling = true; | 74 bool FLAGS_quic_disable_truncated_ack_handling = true; |
| 82 | 75 |
| 83 // If true, after a server silo receives a packet from a migrated QUIC | 76 // If true, after a server silo receives a packet from a migrated QUIC |
| 84 // client, a GO_AWAY frame is sent to the client. | 77 // client, a GO_AWAY frame is sent to the client. |
| 85 bool FLAGS_send_goaway_after_client_migration = true; | 78 bool FLAGS_send_goaway_after_client_migration = true; |
| 79 |
| 80 // Close the connection instead of attempting to write a packet out of sequence |
| 81 // number order. |
| 82 bool FLAGS_quic_close_connection_out_of_order_sending = true; |
| OLD | NEW |