in reply to Re^2: Net::SSH::Perl doesn't like long commands
in thread Net::SSH::Perl doesn't like long commands

I see syswrite calls in this code

http://cpansearch.perl.org/src/SCHWIGON/Net-SSH-Perl-1.35/lib/Net/SSH/Perl/Packet.pm

Looks like it's not protected from EAGAIN and from case when syswrite didn't write all data.

sysread calls are protected.

  • Comment on Re^3: Net::SSH::Perl doesn't like long commands