Commit d511af3d authored by Jeromy's avatar Jeromy

update muxers, includes yamux deadlock fix

parent f6fd598a
......@@ -22,11 +22,11 @@ import (
ma "github.com/jbenet/go-multiaddr"
ps "github.com/jbenet/go-peerstream"
pst "github.com/jbenet/go-stream-muxer"
psmss "github.com/jbenet/go-stream-muxer/multistream"
spdy "github.com/jbenet/go-stream-muxer/spdystream"
yamux "github.com/jbenet/go-stream-muxer/yamux"
"github.com/jbenet/goprocess"
goprocessctx "github.com/jbenet/goprocess/context"
psmss "github.com/whyrusleeping/go-smux-multistream"
spdy "github.com/whyrusleeping/go-smux-spdystream"
yamux "github.com/whyrusleeping/go-smux-yamux"
mafilter "github.com/whyrusleeping/multiaddr-filter"
context "golang.org/x/net/context"
)
......@@ -39,11 +39,11 @@ func init() {
msstpt := psmss.NewBlankTransport()
ymxtpt := &yamux.Transport{
AcceptBacklog: 8192,
AcceptBacklog: 1024,
ConnectionWriteTimeout: time.Second * 10,
KeepAliveInterval: time.Second * 30,
EnableKeepAlive: true,
MaxStreamWindowSize: uint32(1024 * 256),
MaxStreamWindowSize: uint32(1024 * 512),
LogOutput: ioutil.Discard,
}
......
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