Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make WEBrick ipv6 friendly #872

Merged
merged 1 commit into from
May 27, 2015
Merged

Conversation

deepj
Copy link
Contributor

@deepj deepj commented May 27, 2015

WEBrick uses for creating listeners Socket.tcp_server_sockets. If tcp_server_sockets is given host: nil, it opens socket on [::] address (IPv6 if available) and while on 0.0.0.0 (if IPv4 if available). See documentation: http://docs.ruby-lang.org/en/2.2.0/Socket.html#method-c-tcp_server_sockets

Closes #833

WEBrick uses for creating listeners Socket.tcp_server_sockets. If
tcp_server_sockets is given host: nil, it opens socket on [::] address
(IPv6 if available) and while on 0.0.0.0 (if IPv4 if available). See
documentation:
http://docs.ruby-lang.org/en/2.2.0/Socket.html#method-c-tcp_server_socke
ts
spastorino added a commit that referenced this pull request May 27, 2015
@spastorino spastorino merged commit 9d6dff1 into rack:master May 27, 2015
@deepj deepj deleted the webrick-ipv6-friendly branch February 21, 2016 21:19
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.

Webrick handler is ipv6 unfriendly
2 participants