Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by vsespb (Hermit)
on Jun 10, 2013 at 13:33 UTC ( #1038068=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038068]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (16)
As of 2014-07-31 14:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls