Subject: | disconnect throws exception with autodie |
Connecting with autodie => 1 causes an exception to be thrown when
disconnect is called. Trace:
#3021 1336696886.00000 disconnect:
Net::SFTP::Foreign=HASH(0x1a0300)->disconnect called (ssh pid: 3056)
#3021 1336696886.00000 _conn_lost: _conn_lost
#3021 1336696886.00000 _set_status: _set_status code: 7, str: Connection
lost
#3021 1336696886.00000 _set_error: _set_err code: 37, str: Connection to
remote server is broken
Connection to remote server is broken at ./tst line 66
#3021 1336696886.00000 DESTROY:
Net::SFTP::Foreign=HASH(0x1a0300)->DESTROY called (current pid: 3021,
disconnect_by_pid: )
#3021 1336696886.00000 disconnect:
Net::SFTP::Foreign=HASH(0x1a0300)->disconnect called (ssh pid: 3056)
#3021 1336696886.00000 _conn_lost: _conn_lost
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Killed by signal 15.