[#8787] Literal inconsistency — Calamitas <calamitates@...>
Hi,
Calamitas <calamitates@gmail.com> writes:
On 9/4/06, Christian Neukirchen <chneukirchen@gmail.com> wrote:
[#8794] bignums — Ondrej Bilka <neleai@...>
I want ask how look integration of faster bignums.
[#8798] okay, threading & sandbox r70 -- the latest patch — why the lucky stiff <ruby-core@...>
We have previously talked about getting the sandbox to obey thread switching on
Hi,
[#8802] WEBrick::Cookie support for multiple cookies per set-cookie — Aaron Patterson <aaron_patterson@...>
WEBrick's cookie class has a method for parsing Set-Cookie headers, but
[#8813] ruby-1.8.5 loads fox16.so more than once — <noreply@...>
Bugs item #5701, was opened at 2006-09-08 20:59
[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>
Howdy,
On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:
On Saturday 09 September 2006 01:42, Eric Hodel wrote:
On Sep 9, 2006, at 7:16 PM, Sean E. Russell wrote:
On Sunday 10 September 2006 22:57, Eric Hodel wrote:
[#8826] OptionParser < Hash — "greg weber" <eegreg@...>
Hi,
[#8828] REXML fails to parse UTF-16 XML. — <noreply@...>
Bugs item #5711, was opened at 2006-09-11 01:25
Hi,
[#8861] new changes in strings+symbols — Mathieu Bouchard <matju@...>
On Wed, 13 Sep 2006, matz wrote:
[#8864] documentation of ruby internals — Deni George <denigeorge@...>
Hello
On Thursday 14 September 2006 11:30, Deni George wrote:
[#8885] numeric.c fails to build on 64-bit platforms (Fedora Core 5 x86_64 gcc 4.1.1) — <noreply@...>
Patches item #5774, was opened at 2006-09-16 12:19
Hi,
[#8897] Ruby's 'etc' module cannot handle the UID of OS X 'nobody' properly — <noreply@...>
Bugs item #5822, was opened at 2006-09-20 11:13
Hi,
[#8904] patch bignums — Ondrej Bilka <neleai@...>
I am so far with implementing faster bignums:
[#8920] rdoc capture output (help message) — "greg weber" <eegreg@...>
Hi,
The simplest command line would be
greg weber wrote:
It looks like you could seperate this out into a rake task, but then
On Sep 29, 2006, at 5:52 AM, greg weber wrote:
[#8929] Re: RDoc patch, possible bug in socket.c for TCPSocket.new — gwtmp01@...
[#8948] socket (and many others) not building on osx? — Ryan Davis <ryand-ruby@...>
I'm stumped. A brand new clean build doesn't build socket.
[#8954] The %? .. ? Operator — James Edward Gray II <james@...>
I'm needing to know the full list of characters that can (or cannot)
On Sep 29, 2006, at 9:56 AM, James Edward Gray II wrote:
Re: RDoc patch, possible bug in socket.c for TCPSocket.new
On Sep 26, 2006, at 5:35 PM, Daniel Berger wrote: >>> Also, if I try to connect while it's in a TIME_WAIT state, I get >>> this: >>> >>> tcpsocket.rb:5:in `initialize': Address family not supported by >>> protocol >>> family - bind(2) (Errno::EAFNOSUPPORT) >>> from tcpsocket.rb:5 >> Is this an error from the client trying to connect to the server >> in the TIME_WAIT >> state or is this the error you are getting from the server trying >> to restart and >> bind and reuse the local port that is still in the TIME_WAIT state? > > I get that error if I try to run the same script again before the > OS has closed the connection. I'm expecting an error, just not > *that* error. It's not a major issue, mind you. I just thought it > was odd. > >> You use of the word 'connect' is a bit confusing since that is not >> generally used >> to describe the behavior of a TCP server. > > I'm not sure where you mean? In my rdoc patch? I'm sure it could > use improvement - I'm hoping people on the list can improve the > wording. I was a bit confused. I was thinking your code implemented a server but you were coding a client establishing a connection to a local telnet server. So when you said 'if I try to connect', I misunderstood you. My comments regarding TIME_WAIT still apply. Normally a client program does not specify a local port and the kernel picks an ephemeral port number for each connection. In this case when you restart the client the kernel picks a different (unused) ephemeral port, you don't end up using the same (remote host,remote port, local host, local port) tuple and so you don't have a conflict with the previous TCP session which is still in the TIME_WAIT state. If you explicitly choose a local host and local port then when you restart the client you'll be in conflict with the previous session and should get a something like an EADDRINUSE error, which is what I get on Mac OS X when I repeated your example (ruby 1.8.5). So normally a client doesn't have a problem with TIME_WAIT because it uses a different port each time but a *server* that is stopped and restarted quickly can have a problem with TIME_WAIT because a server almost always binds to an explicit port (80 for an web server, for example). What OS are you testing this on that you get an EAFNOSUPPORT error when you rerun the program before the TIME_WAIT expires? Gary Wright