Bug #3368
closedRe: [ruby-cvs:35269] Ruby:r28058 (trunk): * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
Description
=begin
こんにちは、なかむら(う)です。
In message "[ruby-cvs:35269] Ruby:r28058 (trunk): * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED."
on May.29,2010 09:06:19, akr@ruby-lang.org wrote:
akr 2010-05-29 09:06:17 +0900 (Sat, 29 May 2010)
New Revision: 28058
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28058
Log:
* lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.Modified files:
trunk/ChangeLog
trunk/lib/resolv.rb
trunk/test/resolv/test_dns.rb
Windowsでは追加されたテストがErrno::ECONNRESETでエラーとなり
ます。
思うに、resolv.rbでECONNREFUSEDだけでなくECONNRESETもrescue
すればいいのではないかと思いますが、どうでしょうか?
それでは。¶
U.Nakamura usa@garbagecollect.jp
=end
Updated by usa (Usaku NAKAMURA) over 14 years ago
- Category set to lib
- Status changed from Open to Assigned
- Assignee set to akr (Akira Tanaka)
- Target version set to 2.0.0
- ruby -v set to ruby 1.9.3dev (2010-05-31 trunk 28102) [i386-mswin32]
=begin
=end
Updated by akr (Akira Tanaka) over 14 years ago
=begin
2010年5月31日11:49 U.Nakamura usa@garbagecollect.jp:
Windowsでは追加されたテストがErrno::ECONNRESETでエラーとなり
ます。
おぉ、発生するエラーが違いましたか。
思うに、resolv.rbでECONNREFUSEDだけでなくECONNRESETもrescue
すればいいのではないかと思いますが、どうでしょうか?
そのようにしました。¶
[田中 哲][たなか あきら][Tanaka Akira]
=end
Updated by akr (Akira Tanaka) over 14 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r28109.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end