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

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

Issue 1877703002: Landing Recent QUIC changes until 4/8/2016 17:17 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git sync Created 4 years, 8 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_flow_controller.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 // 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 21 matching lines...) Expand all
32 // Maximum number of connections on the time-wait list. A negative value implies 32 // Maximum number of connections on the time-wait list. A negative value implies
33 // no configured limit. 33 // no configured limit.
34 int64_t FLAGS_quic_time_wait_list_max_connections = 600000; 34 int64_t FLAGS_quic_time_wait_list_max_connections = 600000;
35 35
36 // Enables server-side support for QUIC stateless rejects. 36 // Enables server-side support for QUIC stateless rejects.
37 bool FLAGS_enable_quic_stateless_reject_support = true; 37 bool FLAGS_enable_quic_stateless_reject_support = true;
38 38
39 // This flag is not in use, just to keep consistency for shared code. 39 // This flag is not in use, just to keep consistency for shared code.
40 bool FLAGS_quic_always_log_bugs_for_tests = false; 40 bool FLAGS_quic_always_log_bugs_for_tests = false;
41 41
42 // If true, flow controller may grow the receive window size if necessary. 42 // If true, a QUIC connection option with tag DHDT can be used to disable
43 bool FLAGS_quic_auto_tune_receive_window = true; 43 // HPACK\'s dynamic table.
44 bool FLAGS_quic_disable_hpack_dynamic_table = false;
44 45
45 // If true, multipath is enabled for the connection. 46 // If true, multipath is enabled for the connection.
46 bool FLAGS_quic_enable_multipath = false; 47 bool FLAGS_quic_enable_multipath = false;
47 48
48 // If true, require handshake confirmation for QUIC connections, functionally 49 // If true, require handshake confirmation for QUIC connections, functionally
49 // disabling 0-rtt handshakes. 50 // disabling 0-rtt handshakes.
50 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. 51 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed.
51 bool FLAGS_quic_require_handshake_confirmation = false; 52 bool FLAGS_quic_require_handshake_confirmation = false;
52 53
53 // If true, Cubic's epoch is shifted when the sender is application-limited. 54 // If true, Cubic's epoch is shifted when the sender is application-limited.
(...skipping 20 matching lines...) Expand all
74 // If true, make sure new incoming streams correctly cede to higher 75 // If true, make sure new incoming streams correctly cede to higher
75 // priority (or batch) streams when doing QUIC writes. 76 // priority (or batch) streams when doing QUIC writes.
76 bool FLAGS_quic_cede_correctly = true; 77 bool FLAGS_quic_cede_correctly = true;
77 78
78 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, 79 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise,
79 // QUIC will lie and claim that it does not support ChaCha20. The primary use 80 // QUIC will lie and claim that it does not support ChaCha20. The primary use
80 // case for this is places where ChaCha20 is prohibitively expensive compared to 81 // case for this is places where ChaCha20 is prohibitively expensive compared to
81 // AES-GCM. 82 // AES-GCM.
82 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; 83 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true;
83 84
84 // If true, always log the cached network parameters, regardless of whether
85 // bandwidth-resumption has been enabled.
86 bool FLAGS_quic_log_received_parameters = true;
87
88 // If true, QUIC will use newly refactored TCP sender code. 85 // If true, QUIC will use newly refactored TCP sender code.
89 bool FLAGS_quic_use_new_tcp_sender = true; 86 bool FLAGS_quic_use_new_tcp_sender = true;
90 87
91 // If true, the QUIC dispatcher will directly send version negotiation packets 88 // If true, the QUIC dispatcher will directly send version negotiation packets
92 // without needing to create a QUIC session first. 89 // without needing to create a QUIC session first.
93 bool FLAGS_quic_stateless_version_negotiation = false; 90 bool FLAGS_quic_stateless_version_negotiation = false;
94 91
95 // QUIC Ack Decimation with tolerance for packet reordering. 92 // QUIC Ack Decimation with tolerance for packet reordering.
96 bool FLAGS_quic_ack_decimation2 = true; 93 bool FLAGS_quic_ack_decimation2 = true;
97 94
(...skipping 19 matching lines...) Expand all
117 // Try to use the socket timestamp to determine the time a packet was 114 // Try to use the socket timestamp to determine the time a packet was
118 // received instead of Now(). 115 // received instead of Now().
119 bool FLAGS_quic_use_socket_timestamp = true; 116 bool FLAGS_quic_use_socket_timestamp = true;
120 117
121 // If true, handling of errors from invalid stream frames is done in 118 // If true, handling of errors from invalid stream frames is done in
122 // one place in QuicStreamSequencer::OnStreamFrame. 119 // one place in QuicStreamSequencer::OnStreamFrame.
123 bool FLAGS_quic_consolidate_onstreamframe_errors = true; 120 bool FLAGS_quic_consolidate_onstreamframe_errors = true;
124 121
125 // Resend 0RTT requests in response to an REJ that re-establishes encryption. 122 // Resend 0RTT requests in response to an REJ that re-establishes encryption.
126 bool FLAGS_quic_reply_to_rej = true; 123 bool FLAGS_quic_reply_to_rej = true;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_flow_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698