Issue #9872 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE

Backported into `ruby_2_1` branch at r46523.

----------------------------------------
Bug #9872: socket leak in Net::FTP#transfercmd (fixed at r46182)
https://bugs.ruby-lang.org/issues/9872#change-47352

* Author: Tomoyuki Chikanaga
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: lib
* Target version: current: 2.2.0
* ruby -v: -
* Backport: 2.0.0: REQUIRED, 2.1: DONE
----------------------------------------
Net::FTP#transfercmd で例外発生時の socket close 漏れの修正。 r46182 のバックポート管理用にチケット化します。



-- 
https://bugs.ruby-lang.org/