IPV6_V6ONLY is a little weird on freebsd
laduke opened this issue · 0 comments
laduke commented
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
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.