diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-29 02:33:34 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-29 02:33:34 +0000 |
commit | a4072112b267766843530768c9eaaf5ee4f3fe8d (patch) | |
tree | 066fd0a7443e98bf79dbd1e50ad90d8bb52583c0 /test/net/ftp/test_ftp.rb | |
parent | d8a0f14b583a51eaa1f1c28299d69972a9ec5e47 (diff) |
net/ftp: close the socket directly when an error occurs during TLS handshake.
Otherwise, @sock.read in Net::FTP#close hungs until read_timeout exceeded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/ftp/test_ftp.rb')
0 files changed, 0 insertions, 0 deletions