Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(http2): Check for h2 existence (#3690)
The new `HTTP2Transport` needs `httpcore` _and_ `h2` and we only checked for `httpcore`. This caused runtime errors and dropping of all events during testing as the test platform had `httpcore` installed but not `h2`. This patch adds both as conditions for the new transport implementation. Ideally, when we switch out the old transport, we'd silently check for `h2` existence only and set the `http2` option accordingly.
- Loading branch information