Project

General

Profile

Bug #9872

socket leak in Net::FTP#transfercmd (fixed at r46182)

Added by nagachika (Tomoyuki Chikanaga) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
-
[ruby-dev:48261]

Description

Net::FTP#transfercmd で例外発生時の socket close 漏れの修正。 r46182 のバックポート管理用にチケット化します。

Associated revisions

Revision 12ac28e2
Added by nagachika (Tomoyuki Chikanaga) over 5 years ago

merge revision(s) r46182: [Backport #9872]

    * lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
      exception occur.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 46523
Added by nagachika (Tomoyuki Chikanaga) over 5 years ago

merge revision(s) r46182: [Backport #9872]

* lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
  exception occur.

Revision 52832c4d
Added by usa (Usaku NAKAMURA) over 5 years ago

merge revision(s) 46182: [Backport #9872]

    * lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
      exception occur.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 46577
Added by usa (Usaku NAKAMURA) over 5 years ago

merge revision(s) 46182: [Backport #9872]

* lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
  exception occur.

History

#1

Updated by nagachika (Tomoyuki Chikanaga) over 5 years ago

  • 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.

Updated by usa (Usaku NAKAMURA) over 5 years ago

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

backported into ruby_2_0_0 at r46577.

Also available in: Atom PDF