Skip to content

Commit

Permalink
Add other testonly QUICHE flags defined by Envoy.
Browse files Browse the repository at this point in the history
The Envoy platform flags implementation defines a number of custom
testonly flags. In the interest of unifying these implementations, we
should just put them in upstream QUICHE directly.

PiperOrigin-RevId: 572920670
  • Loading branch information
QUICHE team authored and copybara-github committed Oct 12, 2023
1 parent 71e622a commit 2c928be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions quiche/quic/core/quic_flags_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,29 @@

QUIC_FLAG(quic_restart_flag_quic_offload_pacing_to_usps2, false)
// A testonly reloadable flag that will always default to false.
QUIC_FLAG(quic_reloadable_flag_http2_testonly_default_false, false)
// A testonly reloadable flag that will always default to false.
QUIC_FLAG(quic_reloadable_flag_quic_testonly_default_false, false)
// A testonly reloadable flag that will always default to false.
QUIC_FLAG(quic_reloadable_flag_spdy_testonly_default_false, false)
// A testonly reloadable flag that will always default to true.
QUIC_FLAG(quic_reloadable_flag_http2_testonly_default_true, false)
// A testonly reloadable flag that will always default to true.
QUIC_FLAG(quic_reloadable_flag_quic_testonly_default_true, true)
// A testonly reloadable flag that will always default to true.
QUIC_FLAG(quic_reloadable_flag_spdy_testonly_default_true, false)
// A testonly restart flag that will always default to false.
QUIC_FLAG(quic_restart_flag_http2_testonly_default_false, false)
// A testonly restart flag that will always default to false.
QUIC_FLAG(quic_restart_flag_quic_testonly_default_false, false)
// A testonly restart flag that will always default to false.
QUIC_FLAG(quic_restart_flag_spdy_testonly_default_false, false)
// A testonly restart flag that will always default to true.
QUIC_FLAG(quic_restart_flag_http2_testonly_default_true, false)
// A testonly restart flag that will always default to true.
QUIC_FLAG(quic_restart_flag_quic_testonly_default_true, true)
// A testonly restart flag that will always default to true.
QUIC_FLAG(quic_restart_flag_spdy_testonly_default_true, false)
// If enabled and a BSUS connection is received, blocks server connections until SETTINGS frame is received.
QUIC_FLAG(quic_reloadable_flag_quic_block_until_settings_received_copt, true)
// If trrue, early return before write control frame in OnCanWrite() if the connection is already closed.
Expand Down

0 comments on commit 2c928be

Please sign in to comment.