[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69124] [Ruby trunk - Bug #11134] [Open] resolution of "localhost" in windows server 2012 (ipv6 over ipv4)
From:
dani.m.mobile@...
Date:
2015-05-11 14:40:25 UTC
List:
ruby-core #69124
Issue #11134 has been reported by d m.
----------------------------------------
Bug #11134: resolution of "localhost" in windows server 2012 (ipv6 over ipv4)
https://bugs.ruby-lang.org/issues/11134
* Author: d m
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v:
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
I've just installed ruby 2.2 on Windows Server 2012 and i'm seeing this strange behaviour:
The server:
~~~
require "socket"
server = TCPServer.new("::1", 2000)
loop do
client = server.accept
client.puts "Hello !"
client.close
end
~~~
in this case, a tcp connection to that server (using "localhost") goes fine, e.g.
~~~
TCPSocket.new("localhost", 2000).close # => processed instantly
~~~
BUT if the server bind on 127.0.0.1 or 0.0.0.0 (instead of ::1) the previous request takes at least 1 second to be processed.
The same occurs in windows server 2008, but there it can be fixed inserting the line "127.0.0.1 localhost" into the hosts file while in windows server 2012 the delay persists.
--
https://bugs.ruby-lang.org/