Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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;


Comment on Re: Net::SFTP::Foreign timeout value is inaccurate
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2015-07-29 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls