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

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

Issue 2359503003: Landing Recent QUIC changes until 9:58 AM, Sep 17, 2016 UTC (Closed)
Patch Set: Reverted flag flip. Created 4 years, 3 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/core/quic_crypto_server_stream.cc ('k') | net/quic/core/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 // 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // If true, re-enables QUIC_VERSION_36. 65 // If true, re-enables QUIC_VERSION_36.
66 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) 66 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true)
67 67
68 // If true, use async codepaths to invoke ProofSource::GetProof. 68 // If true, use async codepaths to invoke ProofSource::GetProof.
69 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) 69 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false)
70 70
71 // If true, requires handshake confirmations for all QUIC handshakes with 71 // If true, requires handshake confirmations for all QUIC handshakes with
72 // versions less than 33. 72 // versions less than 33.
73 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) 73 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false)
74 74
75 // If true, close QUIC connection explicitly on write error due to packet being
76 // too large.
77 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_packet_too_large, true)
78
79 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public
80 // flag.
81 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks, true)
82
83 // If true, use the CHLO packet size, not message size when determining how 75 // If true, use the CHLO packet size, not message size when determining how
84 // large a REJ can be. 76 // large a REJ can be.
85 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true) 77 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true)
86 78
87 // If true, defer creation of new connection till its CHLO arrives. 79 // If true, defer creation of new connection till its CHLO arrives.
88 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) 80 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true)
89 81
90 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no
91 // longer necessary.
92 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true)
93
94 // If true, disables QUIC version less than 32. 82 // If true, disables QUIC version less than 32.
95 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) 83 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true)
96 84
97 // If true, QUIC will enforce the MTU limit for connections that may require a 85 // If true, QUIC will enforce the MTU limit for connections that may require a
98 // small MTU. 86 // small MTU.
99 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) 87 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false)
100 88
101 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting 89 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting
102 // the connection. 90 // the connection.
103 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) 91 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true)
104 92
105 // If true, do not force sending ack when connection is closed because of
106 // message too long (EMSGSIZE) write error.
107 QUIC_FLAG(bool, FLAGS_quic_do_not_send_ack_on_emsgsize, true)
108
109 // If true, postpone multipath flag validation to ProcessValidatedPacket.
110 QUIC_FLAG(bool, FLAGS_quic_postpone_multipath_flag_validation, true)
111
112 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of 93 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of
113 // the first packet sent after receiving a packet, even if the sent packet is 94 // the first packet sent after receiving a packet, even if the sent packet is
114 // a retransmission 95 // a retransmission
115 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) 96 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true)
116 97
117 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock 98 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock
118 // skew. 99 // skew.
119 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) 100 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true)
120 101
121 // If true, only open limited number of quic sessions per epoll event. Leave the 102 // If true, only open limited number of quic sessions per epoll event. Leave the
122 // rest to next event. This flag can be turned on only if 103 // rest to next event. This flag can be turned on only if
123 // --quic_buffer_packet_till_chlo is true. 104 // --quic_buffer_packet_till_chlo is true.
124 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) 105 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false)
125 106
126 // If true, lazy allocate and early release memeory used in 107 // If true, lazy allocate and early release memeory used in
127 // QuicStreamSequencerBuffer to buffer incoming data. 108 // QuicStreamSequencerBuffer to buffer incoming data.
128 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) 109 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true)
129 110
130 // If true, allow server address change if it is because of mapped ipv4 address. 111 // If true, allow server address change if it is because of mapped ipv4 address.
131 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) 112 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true)
132 113
133 // If true, disables QUIC version less than 34. 114 // If true, disables QUIC version less than 34.
134 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) 115 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false)
135 116
136 // When true, decode the packet number from the largest received packet, rather 117 // When true, decode the packet number from the largest received packet, rather
137 // than the most recent. 118 // than the most recent.
138 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) 119 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true)
120
121 // Only close the connection on the 5th RTO client side when the 5RTO option
122 // is enabled.
123 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true)
124
125 // If true, QUIC server push will enabled by default.
126 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, false)
127
128 // Only inform the QuicSentPacketManager of packets that were sent,
129 // not those that we tried to send.
130 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, false)
131
132 // If true, connection is closed when packet generator is trying to
133 // add a frame which alone cannot fit into a packet.
134 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_huge_frames, true)
135
136 // As the Linux kernel does, limit QUIC's Cubic congestion control to
137 // only increase the CWND 1 packet for every two packets acked.
138 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true)
OLDNEW
« no previous file with comments | « net/quic/core/quic_crypto_server_stream.cc ('k') | net/quic/core/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698