Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
disable the incoming streams limit
Browse files Browse the repository at this point in the history
This is now handled by the resource manager.
  • Loading branch information
marten-seemann committed Feb 8, 2022
1 parent 364372c commit 33715a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ func init() {
// We always run over a security transport that buffers internally
// (i.e., uses a block cipher).
config.ReadBufSize = 0
config.MaxIncomingStreams = 256
// Effectively disable the incoming streams limit.
// This is now dynamically limited by the resource manager.
config.MaxIncomingStreams = 999999
DefaultTransport = (*Transport)(config)
}

Expand Down

0 comments on commit 33715a1

Please sign in to comment.