This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add maxOutboundStreams option to connection.newStream (#415)
When no handler has been registered for a protocol, the upgrader falls back to the default limit of 64 streams for the protocol on the current connection. This PR adds a `maxOutboundStreams` option to `connection.newStream` that gives the user a way to override the default outgoing stream count without having to register a dummy handler.
- Loading branch information