mirror of
https://github.com/jlengrand/vert.x.git
synced 2026-03-10 15:53:36 +00:00
Add a limit of the number of pipe-lined requests over an HTTP/1 client connection
This commit is contained in:
@@ -285,7 +285,7 @@ public class HTTP2Examples {
|
||||
public void useMaxStreams(Vertx vertx) {
|
||||
|
||||
HttpClientOptions clientOptions = new HttpClientOptions().
|
||||
setHttp2MaxStreams(10).
|
||||
setHttp2MultiplexingLimit(10).
|
||||
setHttp2MaxPoolSize(3);
|
||||
|
||||
// Uses up to 3 connections and up to 10 streams per connection
|
||||
|
||||
Reference in New Issue
Block a user