Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: net/quic/quic_flags.cc

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // TODO(rtenneti): Remove this.
8 // Do not flip this flag until the flakiness of the
9 // net/tools/quic/end_to_end_test is fixed.
10 // If true, then QUIC connections will track the retransmission history of a
11 // packet so that an ack of a previous transmission will ack the data of all
12 // other transmissions.
13 bool FLAGS_track_retransmission_history = false;
14
15 bool FLAGS_quic_allow_oversized_packets_for_test = false; 7 bool FLAGS_quic_allow_oversized_packets_for_test = false;
16 8
17 // When true, the use time based loss detection instead of nack. 9 // When true, the use time based loss detection instead of nack.
18 bool FLAGS_quic_use_time_loss_detection = false; 10 bool FLAGS_quic_use_time_loss_detection = false;
19 11
20 // If true, it will return as soon as an error is detected while validating 12 // If true, it will return as soon as an error is detected while validating
21 // CHLO. 13 // CHLO.
22 bool FLAGS_use_early_return_when_verifying_chlo = true; 14 bool FLAGS_use_early_return_when_verifying_chlo = true;
23 15
24 // If true, QUIC crypto reject message will include the reasons for rejection. 16 // If true, QUIC crypto reject message will include the reasons for rejection.
25 bool FLAGS_send_quic_crypto_reject_reason = false; 17 bool FLAGS_send_quic_crypto_reject_reason = false;
26 18
27 // If true, QUIC connections will support FEC protection of data while sending 19 // If true, QUIC connections will support FEC protection of data while sending
28 // packets, to reduce latency of data delivery to the application. The client 20 // packets, to reduce latency of data delivery to the application. The client
29 // must also request FEC protection for the server to use FEC. 21 // must also request FEC protection for the server to use FEC.
30 bool FLAGS_enable_quic_fec = false; 22 bool FLAGS_enable_quic_fec = false;
31 23
32 // When true, defaults to BBR congestion control instead of Cubic. 24 // When true, defaults to BBR congestion control instead of Cubic.
33 bool FLAGS_quic_use_bbr_congestion_control = false; 25 bool FLAGS_quic_use_bbr_congestion_control = false;
34 26
35 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC 27 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC
36 // connection options. 28 // connection options.
37 bool FLAGS_quic_allow_bbr = false; 29 bool FLAGS_quic_allow_bbr = false;
38 30
39 // If true, truncate QUIC connection IDs if the client requests it. 31 // If true, truncate QUIC connection IDs if the client requests it.
40 bool FLAGS_allow_truncated_connection_ids_for_quic = false; 32 bool FLAGS_allow_truncated_connection_ids_for_quic = true;
41 33
42 // Do not flip this flag. jokulik plans more testing and additional monitoring 34 // Do not flip this flag. jokulik plans more testing and additional monitoring
43 // before the flag can go the auto-flip process. 35 // before the flag can go the auto-flip process.
44 // 36 //
45 // If true, record the timestamp for the last sent new packet before the call to 37 // If true, record the timestamp for the last sent new packet before the call to
46 // WritePacket, rather than after in QUIC. 38 // WritePacket, rather than after in QUIC.
47 bool FLAGS_quic_record_send_time_before_write = false; 39 bool FLAGS_quic_record_send_time_before_write = false;
48 40
49 // If true, enables the QUIC bandwidth resumption experiment (triggered by 41 // If true, enables the QUIC bandwidth resumption experiment (triggered by
50 // Chrome/Finch). 42 // Chrome/Finch).
(...skipping 18 matching lines...) Expand all
69 // store multiple addresses. 61 // store multiple addresses.
70 bool FLAGS_quic_use_multiple_address_in_source_tokens = false; 62 bool FLAGS_quic_use_multiple_address_in_source_tokens = false;
71 63
72 // If true, an attempt to send an empty data string with no FIN will return 64 // If true, an attempt to send an empty data string with no FIN will return
73 // early, and not create a frame. 65 // early, and not create a frame.
74 bool FLAGS_quic_empty_data_no_fin_early_return = true; 66 bool FLAGS_quic_empty_data_no_fin_early_return = true;
75 67
76 // If true, if min RTT and/or SRTT have not yet been set then initial RTT is 68 // If true, if min RTT and/or SRTT have not yet been set then initial RTT is
77 // used to initialize them in a call to QuicConnection::GetStats. 69 // used to initialize them in a call to QuicConnection::GetStats.
78 bool FLAGS_quic_use_initial_rtt_for_stats = true; 70 bool FLAGS_quic_use_initial_rtt_for_stats = true;
71
72 // If true, uses the last sent packet for the RTO timer instead of the earliest.
73 bool FLAGS_quic_rto_uses_last_sent = true;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698