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

Side by Side Diff: net/quic/core/quic_flags_list.h

Issue 2516033003: Landing Recent QUIC changes until Mon Nov 14 04:43:50 2016 +0000 (Closed)
Patch Set: Remove unused UpdatePacketGapSentHistogram() function. Created 4 years, 1 month 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/core/quic_error_codes_test.cc ('k') | net/quic/core/quic_framer.h » ('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 // This file intentionally does not have header guards, it's included 5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate values. 6 // inside a macro to generate values.
7 7
8 // This file contains the list of QUIC protocol flags. 8 // This file contains the list of QUIC protocol flags.
9 9
10 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC 10 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true) 48 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true)
49 49
50 // If true, QUIC will use cheap stateless rejects without creating a full 50 // If true, QUIC will use cheap stateless rejects without creating a full
51 // connection. 51 // connection.
52 QUIC_FLAG(bool, FLAGS_quic_use_cheap_stateless_rejects, true) 52 QUIC_FLAG(bool, FLAGS_quic_use_cheap_stateless_rejects, true)
53 53
54 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the 54 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the
55 // connection. 55 // connection.
56 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) 56 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true)
57 57
58 // If true, enables QUIC_VERSION_35.
59 QUIC_FLAG(bool, FLAGS_quic_enable_version_35, true)
60
61 // If true, re-enables QUIC_VERSION_36. 58 // If true, re-enables QUIC_VERSION_36.
62 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) 59 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v3, false)
63 60
64 // If true, use async codepaths to invoke ProofSource::GetProof. 61 // If true, use async codepaths to invoke ProofSource::GetProof.
65 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) 62 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false)
66 63
67 // If true, requires handshake confirmations for all QUIC handshakes with 64 // If true, requires handshake confirmations for all QUIC handshakes with
68 // versions less than 33. 65 // versions less than 33.
69 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) 66 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false)
70 67
71 // If true, only open limited number of quic sessions per epoll event. Leave the 68 // If true, only open limited number of quic sessions per epoll event. Leave the
72 // rest to next event. 69 // rest to next event.
73 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) 70 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true)
74 71
75 // If true, disables QUIC version less than 34.
76 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, true)
77
78 // Only close the connection on the 5th RTO client side when the 5RTO option 72 // Only close the connection on the 5th RTO client side when the 5RTO option
79 // is enabled. 73 // is enabled.
80 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) 74 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, false)
81 75
82 // If true, QUIC server push will enabled by default. 76 // If true, QUIC server push will enabled by default.
83 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) 77 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true)
84 78
85 // Only inform the QuicSentPacketManager of packets that were sent,
86 // not those that we tried to send.
87 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true)
88
89 // As the Linux kernel does, limit QUIC's Cubic congestion control to
90 // only increase the CWND 1 packet for every two packets acked.
91 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true)
92
93 // If true, export reject reasons for all rejects, i.e., rejects, 79 // If true, export reject reasons for all rejects, i.e., rejects,
94 // stateless rejects and cheap stateless rejects. 80 // stateless rejects and cheap stateless rejects.
95 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true) 81 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true)
96 82
97 // Allow large send deltas to be used as RTT samples. 83 // Allow large send deltas to be used as RTT samples.
98 QUIC_FLAG(bool, FLAGS_quic_allow_large_send_deltas, true) 84 QUIC_FLAG(bool, FLAGS_quic_allow_large_send_deltas, true)
99 85
100 // Engage early retransmit anytime the largest acked is greater than 86 // Engage early retransmit anytime the largest acked is greater than
101 // or equal to the largest retransmittable packet. 87 // or equal to the largest retransmittable packet.
102 QUIC_FLAG(bool, FLAGS_quic_largest_sent_retransmittable, true) 88 QUIC_FLAG(bool, FLAGS_quic_largest_sent_retransmittable, true)
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // If enabled, fix double call of 141 // If enabled, fix double call of
156 // InsertLocallyClosedStreamsHighestOffset in ResetPromised. 142 // InsertLocallyClosedStreamsHighestOffset in ResetPromised.
157 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true) 143 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true)
158 144
159 // Set the retransmission alarm only when there are unacked 145 // Set the retransmission alarm only when there are unacked
160 // retransmittable packets. 146 // retransmittable packets.
161 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true) 147 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true)
162 148
163 // Enable QUIC force HOL blocking experiment. 149 // Enable QUIC force HOL blocking experiment.
164 QUIC_FLAG(bool, FLAGS_quic_enable_force_hol_blocking, true) 150 QUIC_FLAG(bool, FLAGS_quic_enable_force_hol_blocking, true)
151
152 // If true, allows packets to be buffered in anticipation of a future CHLO, and
153 // allow CHLO packets to be buffered until next iteration of the event loop.
154 QUIC_FLAG(bool, FLAGS_quic_allow_chlo_buffering, true)
155
156 // If true, fix version manager bug, in which version flag does not really
157 // help.
158 QUIC_FLAG(bool, FLAGS_quic_fix_version_manager, false)
OLDNEW
« no previous file with comments | « net/quic/core/quic_error_codes_test.cc ('k') | net/quic/core/quic_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698