fix max multiplex

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2021-03-24 18:41:11 +01:00 committed by Simone Bordet
parent b151957a5b
commit 34bf18cd8c
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class HttpClientTransportOverQuic extends AbstractHttpClientTransport
{ {
HttpClient httpClient = getHttpClient(); HttpClient httpClient = getHttpClient();
int maxConnections = httpClient.getMaxConnectionsPerDestination(); int maxConnections = httpClient.getMaxConnectionsPerDestination();
return new MultiplexConnectionPool(destination, maxConnections, destination, httpClient.getMaxRequestsQueuedPerDestination()); return new MultiplexConnectionPool(destination, maxConnections, destination, 1);
}); });
} }