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/channel.go | |
parent | 038b107c3d6437f7ac4d7e22e574c583b546f132 (diff) |
vendor: update golang.org/x/crypto/ssh
Related to #4160
Diffstat (limited to 'vendor/golang.org/x/crypto/ssh/channel.go')
-rw-r--r-- | vendor/golang.org/x/crypto/ssh/channel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/golang.org/x/crypto/ssh/channel.go b/vendor/golang.org/x/crypto/ssh/channel.go index 6d709b50..195530ea 100644 --- a/vendor/golang.org/x/crypto/ssh/channel.go +++ b/vendor/golang.org/x/crypto/ssh/channel.go @@ -461,8 +461,8 @@ func (m *mux) newChannel(chanType string, direction channelDirection, extraData pending: newBuffer(), extPending: newBuffer(), direction: direction, - incomingRequests: make(chan *Request, 16), - msg: make(chan interface{}, 16), + incomingRequests: make(chan *Request, chanSize), + msg: make(chan interface{}, chanSize), chanType: chanType, extraData: extraData, mux: m, |