go.crypto/ssh: Increase window size.
Increase window size for channels (session and tcpip) to 64 * max packet size (32 KB), which is the same value that OpenSSH uses. Also breaks out the relevant harcoded constants into named constants in channel.go. Fixes issue 6675. R=golang-dev, dave, hanwen, agl CC=golang-dev https://codereview.appspot.com/18120043 Committer: Dave Cheney <firstname.lastname@example.org>
Showing with 14 additions and 10 deletions