Commit 4fe02b74 authored by Jeromy Johnson's avatar Jeromy Johnson
Browse files

Merge pull request #50 from ipfs/fix/yamux-hang-patch

yamux patches to help mitigate hanging issue
parents e9edd9bd d7edac0d
...@@ -39,7 +39,7 @@ func init() { ...@@ -39,7 +39,7 @@ func init() {
msstpt := psmss.NewBlankTransport() msstpt := psmss.NewBlankTransport()
ymxtpt := &yamux.Transport{ ymxtpt := &yamux.Transport{
AcceptBacklog: 1024, AcceptBacklog: 8192,
ConnectionWriteTimeout: time.Second * 10, ConnectionWriteTimeout: time.Second * 10,
KeepAliveInterval: time.Second * 30, KeepAliveInterval: time.Second * 30,
EnableKeepAlive: true, EnableKeepAlive: true,
......
...@@ -165,9 +165,9 @@ ...@@ -165,9 +165,9 @@
}, },
{ {
"author": "whyrusleeping", "author": "whyrusleeping",
"hash": "QmYaeRqthWTco7oQF4dztuqA94P8JF36gVjd2z2eEqKfrh", "hash": "QmSHTSkxXGQgaHWz91oZV3CDy3hmKmDgpjbYRT6niACG4E",
"name": "go-smux-yamux", "name": "go-smux-yamux",
"version": "1.1.0" "version": "1.1.1"
}, },
{ {
"author": "whyrusleeping", "author": "whyrusleeping",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment