-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check for
h2.connection.ConnectionState.CLOSED
in `AsyncHTTP2Co…
…nnection.is_available` (#679) * Add check for `h2.connection.ConnectionState.CLOSED` in `AsyncHTTP2Connection.is_available` * Add sync implementation * Add test for closed connection * Regenerate sync tests with `unasync` * Use async with * Add anyio annotation --------- Co-authored-by: Tom Christie <tom@tomchristie.com>
- Loading branch information
1 parent
9c42d41
commit ad7a7e3
Showing
4 changed files
with
76 additions
and
0 deletions.
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
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