Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p-quic-transport
Commits
0dde69a0
Unverified
Commit
0dde69a0
authored
Aug 15, 2018
by
Marten Seemann
Committed by
GitHub
Aug 15, 2018
Browse files
Merge pull request #30 from libp2p/stream-limits
allow 1000 bidirectional streams, disable unidirectional streams
parents
6d5dbb82
2ac47edc
Changes
1
Hide whitespace changes
Inline
Side-by-side
transport.go
View file @
0dde69a0
...
...
@@ -19,6 +19,8 @@ import (
)
var
quicConfig
=
&
quic
.
Config
{
MaxIncomingStreams
:
1000
,
MaxIncomingUniStreams
:
-
1
,
// disable unidirectional streams
MaxReceiveStreamFlowControlWindow
:
3
*
(
1
<<
20
),
// 3 MB
MaxReceiveConnectionFlowControlWindow
:
4.5
*
(
1
<<
20
),
// 4.5 MB
Versions
:
[]
quic
.
VersionNumber
{
101
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment