summaryrefslogtreecommitdiff
path: root/lib/net/ssh/multi/session.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use keepalive_interval option as IO select timeoutEugene Kenny2016-03-111-1/+10
| | | | | | | Net::SSH supports sending keepalive packets to the server to check whether the connection is still alive. For this to work, IO#select needs to be given a timeout so that the event loop can run periodically and send the packets.
* Solve the race condition while handling concurrent connections.sersut2013-06-131-1/+10
|
* remove redundant call to block_given?Jamis Buck2009-01-311-2/+2
|
* explicitly rescue StandardError so that socket errors and errno exceptions ↵Jamis Buck2008-09-161-1/+6
| | | | get caught, too
* update documentation to include lazy server evaluation, concurrent ↵Jamis Buck2008-04-091-0/+82
| | | | connection limiting, and connection error control. Also updated manifest file
* deferred server evaluation via session.use(&block)Jamis Buck2008-04-091-30/+38
|
* allow session#use to declare multiple servers in a single callJamis Buck2008-04-081-9/+21
|
* use an abbreviated session definition syntax (borrowing further from Capistrano)Jamis Buck2008-04-081-9/+16
|
* allow on_error to be a proc, and use throw/catch to support programmatic ↵Jamis Buck2008-04-081-0/+8
| | | | retry/reraise
* :on_error supportJamis Buck2008-04-071-1/+21
|
* make with() and on() yield a new subsession object that encapsulates the set ↵Jamis Buck2008-04-071-213/+72
| | | | of matching servers, and add a new servers_for method.
* connection limitingJamis Buck2008-04-061-5/+103
|
* documentationJamis Buck2008-03-301-20/+260
|
* session testsJamis Buck2008-03-301-38/+57
|
* server selection based on properties as well as groupsJamis Buck2008-03-291-15/+27
|
* push server management logic into its own classJamis Buck2008-03-291-136/+53
|
* connection groupsJamis Buck2008-03-281-32/+103
|
* rescue authentication failures and tack on the host name that failed, for ↵Jamis Buck2008-03-271-0/+3
| | | | easier troubleshooting
* initial commit of multi-session implementationJamis Buck2008-03-271-0/+190