Skip to content

Commit

Permalink
Issue #6603 - HTTP/2 max local stream count exceeded
Browse files Browse the repository at this point in the history
Added comment as suggested in review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Aug 30, 2021
1 parent 7733d0f commit 97f4ef3
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -60,6 +60,8 @@ public HttpClientTransportOverHTTP2(HTTP2Client client)
setConnectionPoolFactory(destination ->
{
HttpClient httpClient = getHttpClient();
// Start with the minimum maxMultiplex; the SETTINGS frame from the
// server preface will override this value before any request is sent.
return new MultiplexConnectionPool(destination, httpClient.getMaxConnectionsPerDestination(), destination, 1);
});
}
Expand Down

0 comments on commit 97f4ef3

Please sign in to comment.