diff options
author | Unknwon <u@gogs.io> | 2017-03-01 21:33:58 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-01 21:33:58 -0500 |
commit | 600f748cb0a77370bb5533ed38c01e40fbcf11bb (patch) | |
tree | 926360afed004b146fd0b5b568163f694dd49c8f /vendor/golang.org/x/crypto/ssh/mux.go | |
parent | 038b107c3d6437f7ac4d7e22e574c583b546f132 (diff) |
vendor: update golang.org/x/crypto/ssh
Related to #4160
Diffstat (limited to 'vendor/golang.org/x/crypto/ssh/mux.go')
-rw-r--r-- | vendor/golang.org/x/crypto/ssh/mux.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/golang.org/x/crypto/ssh/mux.go b/vendor/golang.org/x/crypto/ssh/mux.go index f3a3ddd7..27a527c1 100644 --- a/vendor/golang.org/x/crypto/ssh/mux.go +++ b/vendor/golang.org/x/crypto/ssh/mux.go @@ -116,9 +116,9 @@ func (m *mux) Wait() error { func newMux(p packetConn) *mux { m := &mux{ conn: p, - incomingChannels: make(chan NewChannel, 16), + incomingChannels: make(chan NewChannel, chanSize), globalResponses: make(chan interface{}, 1), - incomingRequests: make(chan *Request, 16), + incomingRequests: make(chan *Request, chanSize), errCond: newCond(), } if debugMux { |