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
2ac47edc
Commit
2ac47edc
authored
Aug 11, 2018
by
Marten Seemann
Browse files
allow 1000 bidirectional streams, disable unidirectional streams
parent
6d5dbb82
Changes
1
Hide whitespace changes
Inline
Side-by-side
transport.go
View file @
2ac47edc
...
...
@@ -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