shikhar/sshj — comment on commit ee0707284643499e5a54c0bd9b622bc50d1f487e
File: src/main/java/net/schmizz/sshj/connection/channel/AbstractChannel.java line 121
By shikhar:

Technically yes... however a max packet size of even MAX_INT (2 gigabytes!) would be ridiculous.

But yes I think it would be better to move the ceiling on this to the place where it is used (ChannelOutputStream), and in fact lower it to a saner value -- don't want to allocate 2 gigabyte buffers

Thanks Jeroen :)