diff --git a/CHANGELOG.md b/CHANGELOG.md index f7cecbe..f419916 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## master (unreleased) +* Fix connection failure when sending too many environment variables (fix [#22](https://github.com/moul/sshportal/issues/22)) * Fix panic when entering empty command (fix [#13](https://github.com/moul/sshportal/issues/13)) ## v1.6.0 (2017-12-12) diff --git a/vendor/github.com/gliderlabs/ssh/session.go b/vendor/github.com/gliderlabs/ssh/session.go index c3621c0..05a88a7 100644 --- a/vendor/github.com/gliderlabs/ssh/session.go +++ b/vendor/github.com/gliderlabs/ssh/session.go @@ -90,7 +90,7 @@ func sessionHandler(srv *Server, conn *gossh.ServerConn, newChan gossh.NewChanne conn: conn, handler: srv.Handler, ptyCb: srv.PtyCallback, - maskedReqs: make(chan *gossh.Request, 5), + maskedReqs: make(chan *gossh.Request, 100), ctx: ctx, } sess.handleRequests(reqs)