-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any way to get a connections' max_concurrent_streams ? #260
Comments
@igorclark You can add |
Thanks @ehamberg, that'd be ideal! I'm getting |
Yes it's 2.0+. Highly recommend upgrading, releasing 2.0 is just a matter of time and/or gathering feedback now. |
Ah great, thanks @essen, I'll give it a try. How far off would you say the 2.0 release is? Days, weeks maybe? |
Whoops, accidentally closed that. Unfortunately with |
@igorclark I think you need cowlib ≥ 2.10.1 for |
Ah, OK, I noticed the build was saying it was skipping cowlib 2.10.1 because it already had 2.9.1 - all pulled in automatically. I forced cowlib 2.10.1 in |
Thanks @ehamberg - crossed in the post! |
2.0 can be released after #257 is merged. |
Please re-open this issue. What should happen when the max number of streams is reached? Should gun queue the requests or should the application check the value and avoid sending more requests? |
FYI: #280 |
Hi!
I can see the value is referred to in
gun_http2.erl
, but there's no apparent way ingun:info
or the like to get it out. I know a client can get the info from the connection, becausecurl -v
shows* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
on a connection to a server I'm in control of, and changinghttp2_max_concurrent_streams
on thenginx
config is reflected in that banner.I'd love to be able to access it so I can open a separate connection if i get to the limit in a current one. No idea how to go about adding this to cowboy though. Happy to have a go with some kind of pointer, unless it's really deep in there ...
Cheers 👍
The text was updated successfully, but these errors were encountered: