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

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

Issue 2104633002: Landing recent QUIC changes until 6/24/2016 14:00 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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_framer.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 // If true, it will return as soon as an error is detected while validating 7 // If true, it will return as soon as an error is detected while validating
8 // CHLO. 8 // CHLO.
9 bool FLAGS_use_early_return_when_verifying_chlo = true; 9 bool FLAGS_use_early_return_when_verifying_chlo = true;
10 10
(...skipping 28 matching lines...) Expand all
39 39
40 // If true, multipath is enabled for the connection. 40 // If true, multipath is enabled for the connection.
41 bool FLAGS_quic_enable_multipath = false; 41 bool FLAGS_quic_enable_multipath = false;
42 42
43 // If true, require handshake confirmation for QUIC connections, functionally 43 // If true, require handshake confirmation for QUIC connections, functionally
44 // disabling 0-rtt handshakes. 44 // disabling 0-rtt handshakes.
45 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. 45 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed.
46 bool FLAGS_quic_require_handshake_confirmation = false; 46 bool FLAGS_quic_require_handshake_confirmation = false;
47 47
48 // If true, Cubic's epoch is shifted when the sender is application-limited. 48 // If true, Cubic's epoch is shifted when the sender is application-limited.
49 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = false; 49 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true;
50 50
51 // If true, QUIC will measure head of line (HOL) blocking due between 51 // If true, QUIC will measure head of line (HOL) blocking due between
52 // streams due to packet losses on the headers stream. The 52 // streams due to packet losses on the headers stream. The
53 // measurements will be surfaced via UMA histogram 53 // measurements will be surfaced via UMA histogram
54 // Net.QuicSession.HeadersHOLBlockedTime. 54 // Net.QuicSession.HeadersHOLBlockedTime.
55 bool FLAGS_quic_measure_headers_hol_blocking_time = true; 55 bool FLAGS_quic_measure_headers_hol_blocking_time = true;
56 56
57 // If true, disable pacing in QUIC. 57 // If true, disable pacing in QUIC.
58 bool FLAGS_quic_disable_pacing_for_perf_tests = false; 58 bool FLAGS_quic_disable_pacing_for_perf_tests = false;
59 59
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool FLAGS_quic_loss_recovery_use_largest_acked = true; 98 bool FLAGS_quic_loss_recovery_use_largest_acked = true;
99 99
100 // Only set one alarm for sending at once, either the send alarm or 100 // Only set one alarm for sending at once, either the send alarm or
101 // retransmission alarm. Disabled because it breaks QUIC time loss detection. 101 // retransmission alarm. Disabled because it breaks QUIC time loss detection.
102 bool FLAGS_quic_only_one_sending_alarm = false; 102 bool FLAGS_quic_only_one_sending_alarm = false;
103 103
104 // If true, the hash of the CHLO message will be used in the proof generated for 104 // If true, the hash of the CHLO message will be used in the proof generated for
105 // an SCUP message. 105 // an SCUP message.
106 bool FLAGS_quic_use_hash_in_scup = true; 106 bool FLAGS_quic_use_hash_in_scup = true;
107 107
108 // If true, consider receiving crypto frame on non crypto stream as memory
109 // corruption.
110 bool FLAGS_quic_detect_memory_corrpution = true;
111
112 // If true, QUIC public reset packets will have the \"pre-v33\" public header 108 // If true, QUIC public reset packets will have the \"pre-v33\" public header
113 // flags. 109 // flags.
114 bool FLAGS_quic_use_old_public_reset_packets = true; 110 bool FLAGS_quic_use_old_public_reset_packets = true;
115 111
116 // Ignore the peer's recieve buffer size and instead set max CWND based on the 112 // Ignore the peer's recieve buffer size and instead set max CWND based on the
117 // amount of data the sender is willing to have in flight. 113 // amount of data the sender is willing to have in flight.
118 bool FLAGS_quic_ignore_srbf = true; 114 bool FLAGS_quic_ignore_srbf = true;
119 115
120 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during 116 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during
121 // recovery instead of PRR. 117 // recovery instead of PRR.
122 bool FLAGS_quic_allow_noprr = true; 118 bool FLAGS_quic_allow_noprr = true;
123 119
124 // If true, multi-packet CHLOs are explicitly disallowed.
125 bool FLAGS_quic_disallow_multi_packet_chlo = true;
126
127 // Use a write path optimized for StreamFrames. 120 // Use a write path optimized for StreamFrames.
128 bool FLAGS_quic_use_optimized_write_path = true; 121 bool FLAGS_quic_use_optimized_write_path = true;
129 122
130 // If true, the dispatcher is responsible for generating server designated 123 // If true, the dispatcher is responsible for generating server designated
131 // connection IDs. 124 // connection IDs.
132 bool FLAGS_quic_dispatcher_creates_id = true; 125 bool FLAGS_quic_dispatcher_creates_id = true;
133 126
134 // If true, checks if the CHLO is acceptable as a matter of policy. 127 // If true, checks if the CHLO is acceptable as a matter of policy.
135 bool FLAGS_quic_enable_chlo_policy = true; 128 bool FLAGS_quic_enable_chlo_policy = true;
136 129
(...skipping 15 matching lines...) Expand all
152 // connection. 145 // connection.
153 bool FLAGS_quic_use_cheap_stateless_rejects = false; 146 bool FLAGS_quic_use_cheap_stateless_rejects = false;
154 147
155 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather 148 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather
156 // than QuicTimes. 149 // than QuicTimes.
157 bool FLAGS_quic_socket_walltimestamps = false; 150 bool FLAGS_quic_socket_walltimestamps = false;
158 151
159 // If true, default to immediate forward secure once established on the 152 // If true, default to immediate forward secure once established on the
160 // server side, and the IPFS connection option disables this instead of 153 // server side, and the IPFS connection option disables this instead of
161 // enabling it. 154 // enabling it.
162 bool FLAGS_quic_default_immediate_forward_secure = false; 155 bool FLAGS_quic_default_immediate_forward_secure = true;
163 156
164 // If true, disables support for QUIC version 29 and earlier. 157 // If true, disables support for QUIC version 29 and earlier.
165 bool FLAGS_quic_disable_pre_30 = false; 158 bool FLAGS_quic_disable_pre_30 = false;
159
160 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the
161 // connection.
162 bool FLAGS_quic_respect_http2_settings_frame = true;
163
164 // Do not use a QuicAckListener in order to confirm a larger Path MTU.
165 bool FLAGS_quic_no_mtu_discovery_ack_listener = false;
166
167 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no
168 // longer necessary.
169 bool FLAGS_quic_simple_packet_number_length = false;
170
171 // If true, enables QUIC_VERSION_35.
172 bool FLAGS_quic_enable_version_35 = false;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698