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

Add IPv6 support for Swoole #728

Merged
merged 2 commits into from
Aug 7, 2023
Merged

Add IPv6 support for Swoole #728

merged 2 commits into from
Aug 7, 2023

Conversation

xorinzor
Copy link
Contributor

@xorinzor xorinzor commented Aug 6, 2023

Currently creating a swoole server will result in it always listening on an IPv4 socket regardless of the host address configured.
This change will use the listen host address to determine whether Swoole should listen on an IPv4 or IPv6 socket.

Previously a swoole server configured to listen on :: would show up in netstat as listening on a 0.0.0.0 address,

image

whereas now it will correctly show it as listening on the :: address.

image

@xorinzor xorinzor changed the title Add IPv6 support Add IPv6 support for Swoole Aug 6, 2023
xorinzor and others added 2 commits August 6, 2023 16:04
Use the listen host address to determine whether Swoole should listen on an IPv4 or IPv6 socket.
@taylorotwell taylorotwell merged commit f15a49f into laravel:2.x Aug 7, 2023
5 checks passed
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