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
Commits
d7edac0d
Commit
d7edac0d
authored
May 15, 2016
by
Jeromy
Browse files
yamux patches to help mitigate hanging issue
parent
e9edd9bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
p2p/net/swarm/swarm.go
View file @
d7edac0d
...
...
@@ -39,7 +39,7 @@ func init() {
msstpt
:=
psmss
.
NewBlankTransport
()
ymxtpt
:=
&
yamux
.
Transport
{
AcceptBacklog
:
1024
,
AcceptBacklog
:
8192
,
ConnectionWriteTimeout
:
time
.
Second
*
10
,
KeepAliveInterval
:
time
.
Second
*
30
,
EnableKeepAlive
:
true
,
...
...
package.json
View file @
d7edac0d
...
...
@@ -165,9 +165,9 @@
},
{
"author"
:
"whyrusleeping"
,
"hash"
:
"Qm
YaeRqthWTco7oQF4dztuqA94P8JF36gVjd2z2eEqKfrh
"
,
"hash"
:
"Qm
SHTSkxXGQgaHWz91oZV3CDy3hmKmDgpjbYRT6niACG4E
"
,
"name"
:
"go-smux-yamux"
,
"version"
:
"1.1.
0
"
"version"
:
"1.1.
1
"
},
{
"author"
:
"whyrusleeping"
,
...
...
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