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

IPV6_V6ONLY is a little weird on freebsd #1802

Open
laduke opened this issue Mar 14, 2024 · 0 comments
Open

IPV6_V6ONLY is a little weird on freebsd #1802

laduke opened this issue Mar 14, 2024 · 0 comments

Comments

@laduke
Copy link

laduke commented Mar 14, 2024

Sorry for making this issue. I'm not a FreeBSD user but I do support some.

When IPV6_V6ONLY is turned off, requests to v4 addresses appear to come from ::ffff:<v4-address> like ::ffff:127.0.0.1

b2203bb

other info
https://forums.freebsd.org/threads/creating-a-ipv4-ipv6-socket-in-c.92530/
"IIRC you get V6-notation for all address strings"

I'm not sure what the solution is. Make it configurable by the caller? ifdef for freebsd?
Just patch my local copy of httplib.h?

Thanks for this library. Just wanted to make a note of this, not necessarily get something changed.

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

No branches or pull requests

1 participant