Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id:
48437
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
markusvuori [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
  • 0.19
  • 0.20
  • 0.21
Fixed in:
(no value)



Subject: Not possible to set timeout for connect method
When creating the object, or when connecting, it should be possible to set a timeout for connection, like this $ssh2->connect( $host, $timeout ); or $ssh2->connect( host => $host, timeout => $timeout ) # I prefer this one
In 0.22 you can now do: $ssh->connect('example.com', 22, Timeout => 30) -- Rafael


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.