lib/ftp/ftp.rb (Net::FTP#close): close socket more gracefully.
lib/ftp/ftp.rb (Net::BufferedSocket#shutdown): added.
test/net/ftp/test_ftp.rb (FTPTest#create_ftp_server): wait socket with shutdown and read.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
lib/ftp/ftp.rb (Net::FTP#close): close socket more gracefully.
lib/ftp/ftp.rb (Net::BufferedSocket#shutdown): added.
test/net/ftp/test_ftp.rb (FTPTest#create_ftp_server): wait socket
with shutdown and read.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e