[#21225] Re: [ruby-cvs] ruby: * enum.c (inject_i): use rb_yield_values. — "U.Nakamura" <usa@...>

こんにちは、なかむら(う)です。

14 messages 2003/08/22
[#21227] Re: [ruby-cvs] ruby: * enum.c (inject_i): use rb_yield_values. — nobu.nakada@... 2003/08/22

なかだです。

[#21228] Re: [ruby-cvs] ruby: * enum.c (inject_i): use rb_yield_values. — matz@... (Yukihiro Matsumoto) 2003/08/22

まつもと ゆきひろです

[#21281] 大量メモリ消費攻撃に対する対応 — Hidetoshi NAGAI <nagai@...>

永井@知能.九工大です.

16 messages 2003/08/29
[#21285] Re: 大量メモリ消費攻撃に対する対応 — matz@... (Yukihiro Matsumoto) 2003/08/29

まつもと ゆきひろです

[#21288] Re: 大量メモリ消費攻撃に対する対応 — Hidetoshi NAGAI <nagai@...> 2003/08/29

永井@知能.九工大です.

[#21306] Re: 大量メモリ消費攻撃に対する対応 — matz@... (Yukihiro Matsumoto) 2003/09/03

まつもと ゆきひろです

[ruby-dev:21268] Forward: [BUG] Incorrect TCPSocket errors

From: matz@... (Yukihiro Matsumoto)
Date: 2003-08-26 17:58:00 UTC
List: ruby-dev #21268
まつもと ゆきひろです

この現象を確認できる人はいますか。

------- Start of forwarded message -------
Date: Wed, 27 Aug 2003 00:47:47 +0900
From: Alan Davies <NOSPAMcs96and@yahoo.co.ukNOSPAM>
Subject: [BUG] Incorrect TCPSocket errors
X-ML-Name: ruby-talk
X-Mail-Count: 80235

Hello

I'm using ruby 1.8.0 on windows 2000.  I've discovered that when 
TCPSocket.new raises an exception, the Exception.errno variable contains 
the wrong error number, and subsequently, $! contains the wrong error 
text.

e.g.
TCPSocket.new("some.host.com", 80)

if some.host.com is not listening on port 80, you should receive error 
10061: "No connection could be made because the target machine actively 
refused it."  This is the error I used to receive with ruby 1.6.7

However, with ruby 1.8.0, I get error 61: "The printer queue is full"  
This is obviously incorrect.  It seems that 10000 has been subtracted 
from the error number for some strange reason.

Cheers,
Alan.
------- End of forwarded message -------

In This Thread

Prev Next