ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:69577] [Ruby trunk - Bug #11260] [Open] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
       [not found] <redmine.issue-11260.20150614101259@ruby-lang.org>
@ 2015-06-14 10:12 ` eregontp
  2015-06-14 10:14 ` [ruby-core:69578] [Ruby trunk - Bug #11260] " eregontp
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: eregontp @ 2015-06-14 10:12 UTC (permalink / raw)
  To: ruby-core

Issue #11260 has been reported by Benoit Daloze.

----------------------------------------
Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
https://bugs.ruby-lang.org/issues/11260

* Author: Benoit Daloze
* Status: Open
* Priority: Normal
* Assignee: Shugo Maeda
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
`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--------------------------------
0001-lib-net-ftp.rb-makeport-close-the-TCPServer.patch (3.43 KB)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:69578] [Ruby trunk - Bug #11260] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
       [not found] <redmine.issue-11260.20150614101259@ruby-lang.org>
  2015-06-14 10:12 ` [ruby-core:69577] [Ruby trunk - Bug #11260] [Open] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails eregontp
@ 2015-06-14 10:14 ` eregontp
  2015-06-27  9:04 ` [ruby-core:69753] [Ruby trunk - Bug #11260] [Assigned] " shugo
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: eregontp @ 2015-06-14 10:14 UTC (permalink / raw)
  To: ruby-core

Issue #11260 has been updated by Benoit Daloze.


@shugo, can I commit this?

----------------------------------------
Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
https://bugs.ruby-lang.org/issues/11260#change-52917

* Author: Benoit Daloze
* Status: Open
* Priority: Normal
* Assignee: Shugo Maeda
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
`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--------------------------------
0001-lib-net-ftp.rb-makeport-close-the-TCPServer.patch (3.43 KB)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:69753] [Ruby trunk - Bug #11260] [Assigned] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
       [not found] <redmine.issue-11260.20150614101259@ruby-lang.org>
  2015-06-14 10:12 ` [ruby-core:69577] [Ruby trunk - Bug #11260] [Open] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails eregontp
  2015-06-14 10:14 ` [ruby-core:69578] [Ruby trunk - Bug #11260] " eregontp
@ 2015-06-27  9:04 ` shugo
  2015-06-27 10:13 ` [ruby-core:69755] [Ruby trunk - Bug #11260] [Closed] " eregontp
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: shugo @ 2015-06-27  9:04 UTC (permalink / raw)
  To: ruby-core

Issue #11260 has been updated by Shugo Maeda.

Status changed from Open to Assigned
Assignee changed from Shugo Maeda to Benoit Daloze

Benoit Daloze wrote:
> @shugo, can I commit this?

The patch looks fine.  Please commit it.

----------------------------------------
Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
https://bugs.ruby-lang.org/issues/11260#change-53130

* Author: Benoit Daloze
* Status: Assigned
* Priority: Normal
* Assignee: Benoit Daloze
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
`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--------------------------------
0001-lib-net-ftp.rb-makeport-close-the-TCPServer.patch (3.43 KB)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:69755] [Ruby trunk - Bug #11260] [Closed] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
       [not found] <redmine.issue-11260.20150614101259@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2015-06-27  9:04 ` [ruby-core:69753] [Ruby trunk - Bug #11260] [Assigned] " shugo
@ 2015-06-27 10:13 ` eregontp
  2015-06-30  3:11 ` [ruby-core:69786] [Ruby trunk - Bug #11260] " usa
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: eregontp @ 2015-06-27 10:13 UTC (permalink / raw)
  To: ruby-core

Issue #11260 has been updated by Benoit Daloze.

Status changed from Assigned to Closed

Thanks, committed in r51046.

----------------------------------------
Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
https://bugs.ruby-lang.org/issues/11260#change-53132

* Author: Benoit Daloze
* Status: Closed
* Priority: Normal
* Assignee: Benoit Daloze
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
`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--------------------------------
0001-lib-net-ftp.rb-makeport-close-the-TCPServer.patch (3.43 KB)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:69786] [Ruby trunk - Bug #11260] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
       [not found] <redmine.issue-11260.20150614101259@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2015-06-27 10:13 ` [ruby-core:69755] [Ruby trunk - Bug #11260] [Closed] " eregontp
@ 2015-06-30  3:11 ` usa
  2015-08-12 16:40 ` [ruby-core:70354] " nagachika00
  2015-08-17  8:43 ` [ruby-core:70417] " usa
  6 siblings, 0 replies; 7+ messages in thread
From: usa @ 2015-06-30  3:11 UTC (permalink / raw)
  To: ruby-core

Issue #11260 has been updated by Usaku NAKAMURA.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED

----------------------------------------
Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
https://bugs.ruby-lang.org/issues/11260#change-53164

* Author: Benoit Daloze
* Status: Closed
* Priority: Normal
* Assignee: Benoit Daloze
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
`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--------------------------------
0001-lib-net-ftp.rb-makeport-close-the-TCPServer.patch (3.43 KB)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:70354] [Ruby trunk - Bug #11260] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
       [not found] <redmine.issue-11260.20150614101259@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2015-06-30  3:11 ` [ruby-core:69786] [Ruby trunk - Bug #11260] " usa
@ 2015-08-12 16:40 ` nagachika00
  2015-08-17  8:43 ` [ruby-core:70417] " usa
  6 siblings, 0 replies; 7+ messages in thread
From: nagachika00 @ 2015-08-12 16:40 UTC (permalink / raw)
  To: ruby-core

Issue #11260 has been updated by Tomoyuki Chikanaga.

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

Backported into `ruby_2_2` branch at r51556.

----------------------------------------
Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
https://bugs.ruby-lang.org/issues/11260#change-53770

* Author: Benoit Daloze
* Status: Closed
* Priority: Normal
* Assignee: Benoit Daloze
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: DONE
----------------------------------------
`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--------------------------------
0001-lib-net-ftp.rb-makeport-close-the-TCPServer.patch (3.43 KB)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:70417] [Ruby trunk - Bug #11260] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
       [not found] <redmine.issue-11260.20150614101259@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2015-08-12 16:40 ` [ruby-core:70354] " nagachika00
@ 2015-08-17  8:43 ` usa
  6 siblings, 0 replies; 7+ messages in thread
From: usa @ 2015-08-17  8:43 UTC (permalink / raw)
  To: ruby-core

Issue #11260 has been updated by Usaku NAKAMURA.

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

ruby_2_1 r51610 merged revision(s) 51046.

----------------------------------------
Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
https://bugs.ruby-lang.org/issues/11260#change-53825

* Author: Benoit Daloze
* Status: Closed
* Priority: Normal
* Assignee: Benoit Daloze
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: WONTFIX, 2.1: DONE, 2.2: DONE
----------------------------------------
`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--------------------------------
0001-lib-net-ftp.rb-makeport-close-the-TCPServer.patch (3.43 KB)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-08-17  8:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-11260.20150614101259@ruby-lang.org>
2015-06-14 10:12 ` [ruby-core:69577] [Ruby trunk - Bug #11260] [Open] [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails eregontp
2015-06-14 10:14 ` [ruby-core:69578] [Ruby trunk - Bug #11260] " eregontp
2015-06-27  9:04 ` [ruby-core:69753] [Ruby trunk - Bug #11260] [Assigned] " shugo
2015-06-27 10:13 ` [ruby-core:69755] [Ruby trunk - Bug #11260] [Closed] " eregontp
2015-06-30  3:11 ` [ruby-core:69786] [Ruby trunk - Bug #11260] " usa
2015-08-12 16:40 ` [ruby-core:70354] " nagachika00
2015-08-17  8:43 ` [ruby-core:70417] " usa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).