diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-01 06:22:05 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-01 06:22:05 +0000 |
commit | 3237f7dc9a436a44c068e9bd8572d6e4812df772 (patch) | |
tree | 54af5e64a8ae0b9f5a1cdcf662a1151a6ab216b7 /vm_opts.h | |
parent | a429cafc4d95c0543e3fb234f1762067ee0b5304 (diff) | |
download | ruby-3237f7dc9a436a44c068e9bd8572d6e4812df772.tar.gz |
* test/xmlrpc/test_webrick_server.rb (Test_Webrick#setup_http_server):
XMLRPC::Client.new3(), when called without host: argument, tries
to connect to a host where "localhost" resolves to. On the
other hand a WEBrick::HTTPServer.new(), when called without
BindAddress: argument, tries to listen all the address where
getaddrinfo(AF_UNSPEC) resolves to. This is a mismatch because
"localhost" might not resolve to one of those listening sockets.
We would better explicitly specify "localhost" here and if
failed, just skip the whole test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_opts.h')
0 files changed, 0 insertions, 0 deletions