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

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

Issue 1572353002: QuicAlarms are now allocated out of an arena in QuicConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge recent changes. Created 4 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_one_block_arena.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
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 bool FLAGS_quic_disable_pacing = false; 75 bool FLAGS_quic_disable_pacing = false;
76 76
77 // If true, Use QUIC's GeneralLossAlgorithm implementation instead of 77 // If true, Use QUIC's GeneralLossAlgorithm implementation instead of
78 // TcpLossAlgorithm or TimeLossAlgorithm. 78 // TcpLossAlgorithm or TimeLossAlgorithm.
79 bool FLAGS_quic_general_loss_algorithm = true; 79 bool FLAGS_quic_general_loss_algorithm = true;
80 80
81 // If true, only migrate QUIC connections when client address changes are 81 // If true, only migrate QUIC connections when client address changes are
82 // considered to be caused by NATs. 82 // considered to be caused by NATs.
83 bool FLAGS_quic_disable_non_nat_address_migration = true; 83 bool FLAGS_quic_disable_non_nat_address_migration = true;
84 84
85 // If true, QuicOneBlockArenas will allocate out of their local memory.
86 // Otherwise, they will always use the heap.
87 bool FLAGS_quic_enable_arena_allocation = true;
88
85 // If true, QUIC connections will timeout when packets are not being recieved, 89 // If true, QUIC connections will timeout when packets are not being recieved,
86 // even if they are being sent. 90 // even if they are being sent.
87 bool FLAGS_quic_use_new_idle_timeout = true; 91 bool FLAGS_quic_use_new_idle_timeout = true;
88 92
89 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data 93 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data
90 // structure for QuicStreamSequencer bufferring. 94 // structure for QuicStreamSequencer bufferring.
91 bool FLAGS_quic_use_stream_sequencer_buffer = true; 95 bool FLAGS_quic_use_stream_sequencer_buffer = true;
92 96
93 // If true, don't send QUIC packets if the send alarm is set. 97 // If true, don't send QUIC packets if the send alarm is set.
94 bool FLAGS_quic_respect_send_alarm2 = true; 98 bool FLAGS_quic_respect_send_alarm2 = true;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 150
147 // If true, drop not awaited QUIC packets before decrypting them. 151 // If true, drop not awaited QUIC packets before decrypting them.
148 bool FLAGS_quic_drop_non_awaited_packets = false; 152 bool FLAGS_quic_drop_non_awaited_packets = false;
149 153
150 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. 154 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash.
151 bool FLAGS_quic_utils_use_fast_incremental_hash = true; 155 bool FLAGS_quic_utils_use_fast_incremental_hash = true;
152 156
153 // If true, require QUIC connections to use a valid server nonce or a non-local 157 // If true, require QUIC connections to use a valid server nonce or a non-local
154 // strike register. 158 // strike register.
155 bool FLAGS_require_strike_register_or_server_nonce = true; 159 bool FLAGS_require_strike_register_or_server_nonce = true;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_one_block_arena.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698