Skip to content

Conversation

@hsbt
Copy link
Member

@hsbt hsbt commented Jul 10, 2024

No description provided.

@hsbt hsbt force-pushed the remove-webrick branch 9 times, most recently from 8e63de3 to cffee60 Compare July 10, 2024 10:32
@hsbt hsbt force-pushed the remove-webrick branch from cffee60 to 54a99b9 Compare July 10, 2024 10:35
hsbt added a commit to hsbt/ruby that referenced this pull request Jul 10, 2024
hsbt added a commit to hsbt/ruby that referenced this pull request Jul 10, 2024
@hsbt hsbt merged commit 5952bd9 into master Jul 10, 2024
@hsbt hsbt deleted the remove-webrick branch July 10, 2024 23:05
cjwatson added a commit to cjwatson/ruby that referenced this pull request Aug 26, 2024
In certain configurations it's possible to get duplicate results back
from getaddrinfo: for example, if you accidentally have more than one
line in /etc/hosts mapping the same name to the same IP address, then
Linux/glibc systems will return multiple identical entries.  This minor
misconfiguration is normally harmless, but it caused this program to
fail with `EADDRINUSE`:

    require 'socket'
    Socket.tcp_server_sockets('localhost', 0)

Prior to ruby/net-http#180, this caused a number
of `TestNetHTTP*` tests to fail, as seen in these Debian bugs:

  https://bugs.debian.org/1069399 (Ruby 3.1)
  https://bugs.debian.org/1064685 (Ruby 3.2)
  https://bugs.debian.org/1077462 (Ruby 3.3)

It's easy enough to deduplicate these.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants