aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/crypto/ssh/mux.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-03-01 21:33:58 -0500
committerUnknwon <u@gogs.io>2017-03-01 21:33:58 -0500
commit600f748cb0a77370bb5533ed38c01e40fbcf11bb (patch)
tree926360afed004b146fd0b5b568163f694dd49c8f /vendor/golang.org/x/crypto/ssh/mux.go
parent038b107c3d6437f7ac4d7e22e574c583b546f132 (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.go4
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 {