Help with openssh: ssh application writing data > 131071 to socket causing message too long error

Peter Stuge stuge-openssh-unix-dev at
Tue Nov 13 23:36:19 EST 2007

On Tue, Nov 13, 2007 at 11:50:39AM +0530, Reji Thomas wrote:
> length before calling systemcall write 131344
> Write failed: Message too long

Would it be OK for your write() implementation to just take what
bytes it can and return those as successfully written?

That happens in real life all the time, and is documented.


More information about the openssh-unix-dev mailing list