forked from hyperium/hyper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(h2): log negotiated concurrency limits at DEBUG
Upstream PRs hyperium/h2#513 and hyperium/h2#516 added functions for exposing the connection concurrency limits negotiated by a remote peer. Recording these settings can be useful for debugging purposes. In the higher-level `Client` and `Server` APIs, it's not easily possible to provide a way for users to directly access settings on a particular connection, since the client abstracts over a connection pool and the server abstracts over a connect loop. Therefore, the user can't access these settings directly. Instead, this branch adds new log messages at the DEBUG level for recording negotiated concurrency limits. In a follow-up, we can also add accessors to the `Connection` types in the lower-level `client::conn` and `server::conn` APIs.
- Loading branch information
Showing
3 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters