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

Listen to IPv4 and IPv6 at the same time when --ipv6 is passed #42

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

hhartzer
Copy link
Contributor

This could have already been the default behavior on your OS, but now it will be consistently utilized. Prior to this, to support IPv4 and IPv6 you would have to run two servers or set the relevant sysctl.

Also fixes incorrect inet_pton() usage.

Closes: #37

This could have already been the default behavior on your OS, but
now it will be consistently utilized. Prior to this, to support IPv4
and IPv6 you would have to run two servers or set the relevant sysctl.

Also fixes incorrect inet_pton() usage.

Closes: emikulic#37
@hhartzer
Copy link
Contributor Author

I tested this with Debian 12 and FreeBSD 14. Seems to work on both.

If this looks good to you and you decide to merge, would you mind making a new release?

@emikulic
Copy link
Owner

Nice, thanks! I'll do the release.

@emikulic emikulic merged commit 77a8178 into emikulic:master Feb 28, 2024
2 checks passed
@emikulic
Copy link
Owner

Done: https://github.com/emikulic/darkhttpd/releases/tag/v1.16

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.

Listen on IPv4 and IPv6
2 participants