Skip to content

Commit

Permalink
Sets an oghttp2 option in ClientHttp2Options. (envoyproxy#29629)
Browse files Browse the repository at this point in the history
* Sets an oghttp2 option in ClientHttp2Options.

Signed-off-by: Biren Roy <[email protected]>
  • Loading branch information
birenroy authored Sep 14, 2023
1 parent 1a41521 commit 7acf6f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/common/http/http2/codec_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1832,6 +1832,8 @@ ConnectionImpl::ClientHttp2Options::ClientHttp2Options(
const envoy::config::core::v3::Http2ProtocolOptions& http2_options, uint32_t max_headers_kb)
: Http2Options(http2_options, max_headers_kb) {
og_options_.perspective = http2::adapter::Perspective::kClient;
og_options_.remote_max_concurrent_streams =
::Envoy::Http2::Utility::OptionsLimits::DEFAULT_MAX_CONCURRENT_STREAMS;
// Temporarily disable initial max streams limit/protection, since we might want to create
// more than 100 streams before receiving the HTTP/2 SETTINGS frame from the server.
//
Expand Down

0 comments on commit 7acf6f6

Please sign in to comment.