Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Net::SFTP::Foreign timeout value is inaccurate

by salva (Abbot)
on Mar 15, 2014 at 07:33 UTC ( #1078428=note: print w/replies, xml ) Need Help??


in reply to Net::SFTP::Foreign timeout value is inaccurate

The connection is aborted after $timeout seconds.

The issue is that aborting the connection sometimes takes time. In your case $timeout * 3 seconds.

Enable debugging in order to see what's going on under the hood:

$Net::SFTP::Foreign::debug = -1;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1078428]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2018-06-24 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?