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

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

Issue 1761263002: Landing recent QUIC changes until 7:19 PM, Feb 26, 2016 UTC-5. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ActivateStream() call to QuicChromiumClientSession to fix server push failure Created 4 years, 9 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.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 #include "net/quic/quic_flags.h" 5 #include "net/quic/quic_flags.h"
6 6
7 // When true, the use time based loss detection instead of nack. 7 // When true, the use time based loss detection instead of nack.
8 bool FLAGS_quic_use_time_loss_detection = false; 8 bool FLAGS_quic_use_time_loss_detection = false;
9 9
10 // If true, it will return as soon as an error is detected while validating 10 // If true, it will return as soon as an error is detected while validating
11 // CHLO. 11 // CHLO.
12 bool FLAGS_use_early_return_when_verifying_chlo = true; 12 bool FLAGS_use_early_return_when_verifying_chlo = true;
13 13
14 // If true, QUIC connections will support FEC protection of data while sending
15 // packets, to reduce latency of data delivery to the application. The client
16 // must also request FEC protection for the server to use FEC.
17 bool FLAGS_enable_quic_fec = true;
18
19 // When true, defaults to BBR congestion control instead of Cubic. 14 // When true, defaults to BBR congestion control instead of Cubic.
20 bool FLAGS_quic_use_bbr_congestion_control = false; 15 bool FLAGS_quic_use_bbr_congestion_control = false;
21 16
22 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC 17 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC
23 // connection options. 18 // connection options.
24 bool FLAGS_quic_allow_bbr = false; 19 bool FLAGS_quic_allow_bbr = false;
25 20
26 // Time period for which a given connection_id should live in the time-wait 21 // Time period for which a given connection_id should live in the time-wait
27 // state. 22 // state.
28 int64_t FLAGS_quic_time_wait_list_seconds = 200; 23 int64_t FLAGS_quic_time_wait_list_seconds = 200;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Net.QuicSession.HeadersHOLBlockedTime. 59 // Net.QuicSession.HeadersHOLBlockedTime.
65 bool FLAGS_quic_measure_headers_hol_blocking_time = true; 60 bool FLAGS_quic_measure_headers_hol_blocking_time = true;
66 61
67 // Disable QUIC's userspace pacing. 62 // Disable QUIC's userspace pacing.
68 bool FLAGS_quic_disable_pacing = false; 63 bool FLAGS_quic_disable_pacing = false;
69 64
70 // If true, QUIC connections will timeout when packets are not being recieved, 65 // If true, QUIC connections will timeout when packets are not being recieved,
71 // even if they are being sent. 66 // even if they are being sent.
72 bool FLAGS_quic_use_new_idle_timeout = true; 67 bool FLAGS_quic_use_new_idle_timeout = true;
73 68
74 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data
75 // structure for QuicStreamSequencer bufferring.
76 bool FLAGS_quic_use_stream_sequencer_buffer = true;
77
78 // If true, don't send QUIC packets if the send alarm is set. 69 // If true, don't send QUIC packets if the send alarm is set.
79 bool FLAGS_quic_respect_send_alarm2 = true; 70 bool FLAGS_quic_respect_send_alarm2 = true;
80 71
81 // If true, allow each quic stream to write 16k blocks rather than doing a round 72 // If true, allow each quic stream to write 16k blocks rather than doing a round
82 // robin of one packet per session when ack clocked or paced. 73 // robin of one packet per session when ack clocked or paced.
83 bool FLAGS_quic_batch_writes = true; 74 bool FLAGS_quic_batch_writes = true;
84 75
85 // If true, QUIC sessions will write block streams that attempt to write 76 // If true, QUIC sessions will write block streams that attempt to write
86 // unencrypted data. 77 // unencrypted data.
87 bool FLAGS_quic_block_unencrypted_writes = true; 78 bool FLAGS_quic_block_unencrypted_writes = true;
88 79
89 // If true, Close the connection instead of writing unencrypted stream data. 80 // If true, Close the connection instead of writing unencrypted stream data.
90 bool FLAGS_quic_never_write_unencrypted_data = true; 81 bool FLAGS_quic_never_write_unencrypted_data = true;
91 82
92 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. 83 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE.
93 // Close the connection if we ever try to serialized unencrypted FEC. 84 // Close the connection if we ever try to serialized unencrypted FEC.
94 bool FLAGS_quic_no_unencrypted_fec = true; 85 bool FLAGS_quic_no_unencrypted_fec = true;
95 86
96 // If true, reject any incoming QUIC which does not have the FIXD tag. 87 // If true, reject any incoming QUIC which does not have the FIXD tag.
97 bool FLAGS_quic_require_fix = true; 88 bool FLAGS_quic_require_fix = true;
98 89
99 // If true, QUIC supports sending trailers from Server to Client.
100 bool FLAGS_quic_supports_trailers = true;
101
102 // If true, headers stream will support receiving PUSH_PROMISE frames. 90 // If true, headers stream will support receiving PUSH_PROMISE frames.
103 bool FLAGS_quic_supports_push_promise = false; 91 bool FLAGS_quic_supports_push_promise = false;
104 92
105 // Enable counters for incoming/outgoing streams which are used as condition
106 // check while creating a new stream.
107 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true;
108
109 // If true, QUIC servers will attempt to validate a client's source 93 // If true, QUIC servers will attempt to validate a client's source
110 // address token using the primary config, even if no server config id 94 // address token using the primary config, even if no server config id
111 // is present in the client hello. 95 // is present in the client hello.
112 bool FLAGS_quic_validate_stk_without_scid = true; 96 bool FLAGS_quic_validate_stk_without_scid = true;
113 97
114 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. 98 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305.
115 bool FLAGS_quic_use_rfc7539 = true; 99 bool FLAGS_quic_use_rfc7539 = true;
116 100
117 // If true, require QUIC connections to use a valid server nonce or a non-local 101 // If true, require QUIC connections to use a valid server nonce or a non-local
118 // strike register. 102 // strike register.
(...skipping 27 matching lines...) Expand all
146 // If true, always log the cached network parameters, regardless of whether 130 // If true, always log the cached network parameters, regardless of whether
147 // bandwidth-resumption has been enabled. 131 // bandwidth-resumption has been enabled.
148 bool FLAGS_quic_log_received_parameters = true; 132 bool FLAGS_quic_log_received_parameters = true;
149 133
150 // If true, QUIC will use newly refactored TCP sender code. 134 // If true, QUIC will use newly refactored TCP sender code.
151 bool FLAGS_quic_use_new_tcp_sender = true; 135 bool FLAGS_quic_use_new_tcp_sender = true;
152 136
153 // Saves the initial subkey secret in QUIC crypto when deriving keys from the 137 // Saves the initial subkey secret in QUIC crypto when deriving keys from the
154 // initial premaster secret. 138 // initial premaster secret.
155 bool FLAGS_quic_save_initial_subkey_secret = true; 139 bool FLAGS_quic_save_initial_subkey_secret = true;
140
141 // If true, the QUIC dispatcher will directly send version negotiation packets
142 // without needing to create a QUIC session first.
143 bool FLAGS_quic_stateless_version_negotiation = false;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698