Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
[jedikaiti]: Hi, Monks
[marto]: heya jedikaiti!
[jedikaiti]: Cute Robot!
[jedikaiti]: How's life, marto?
[marto]: I saw this robot the other day, pretty fancy stuff. Things are pretty good jedikaiti, improving :) How are things with you?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (17)
As of 2017-07-25 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (374 votes). Check out past polls.