mirror of
https://github.com/moul/sshportal.git
synced 2024-12-27 18:51:52 +08:00
Merge pull request #26 from moul/dev/moul/fix-22
Fix connection failure when sending too many environment variables
This commit is contained in:
commit
78db26a532
2 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
2
vendor/github.com/gliderlabs/ssh/session.go
generated
vendored
2
vendor/github.com/gliderlabs/ssh/session.go
generated
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue