Project

General

Profile

Actions

Bug #3368

closed

Re: [ruby-cvs:35269] Ruby:r28058 (trunk): * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.

Added by usa (Usaku NAKAMURA) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2010-05-31 trunk 28102) [i386-mswin32]
Backport:
[ruby-dev:41477]

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, 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
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0