HTTP/2 does not honor max connections #2418
-
|
When forcing HTTP/2 usage, I noticed This is likely due to The client object looks like: I also noticed there are no tests today for HTTP/2 - and the test server is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
In HTTP/2 streams and connections are two different things. A connection is as it is named, a connection between a client and a server. A stream represents a specific request in a connection. If the client and server support it, a connection can have multiple streams. The So I do not think that is a bug, however, this then gets into the question, #2416, I just brought up a few days ago. As I said there, AFAICT, you can't configure the |
Beta Was this translation helpful? Give feedback.
In HTTP/2 streams and connections are two different things. A connection is as it is named, a connection between a client and a server. A stream represents a specific request in a connection. If the client and server support it, a connection can have multiple streams. The
max_connectionslimit that is configurable withLimits(max_connections=200, max_keepalive_connections=40)is for the number of connections, not streams.So I do not think that is a bug, however, this then gets into the question, #2416, I just brought up a few days ago. As I said there, AFAICT, you can't configure the
H2Connectionobject to change the max streams limit (also, just to correct a slight error,H2Connectionis…