Actions
Bug #11260
closed[PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
Bug #11260:
[PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
Description
Net::FTP will keep the TCPServer created in makeport opened if sendport fails.
The patch sends the port in its (only) caller instead, so the TCPServer is appropriately closed no matter the outcome.
This was detected with RubySpec and a leak checker based on test/lib/leakchecker.rb.
Files
Actions