★ wanayoo — archive 1999 https://github.com/etr/libhttpserver/issues/202Nouvelle recherche | Portail wanayoo
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

[FEATURE] missing support for dualstack ipv6+ipv4 #202

Closed
vandalon opened this issue Jul 23, 2020 · 2 comments
Closed

[FEATURE] missing support for dualstack ipv6+ipv4 #202

vandalon opened this issue Jul 23, 2020 · 2 comments
Assignees

Comments

@vandalon
Copy link

@vandalon vandalon commented Jul 23, 2020

libhttpserver only support either ipv4 OR ipv6.
It would be nice to have support for both at the same time (dualstack).

proposed fix:

webserver.cpp:313;
use MHD_USE_DUAL_STACK instead of MHD_USE_IPv6 or add a new option for dual stack.

(thanks to my colleague for researching this.)

@etr
Copy link
Owner

@etr etr commented Aug 5, 2020

Interesting. Let me take a look to see if it has other implications within the library with the current implementation (e.g. blocking IPs).

etr added a commit that referenced this issue Aug 24, 2020
@etr etr mentioned this issue Aug 25, 2020
etr added a commit that referenced this issue Aug 25, 2020
* Introduce use_dual_stack to allow support for both ipv4 and ipv6.

See: #202

* Remove explicit DNS resolve for IPV6

* IPV6 tests run if IPV6_TESTS_ENABLED specified

* Enable IPV6 tests only on osx

Travis linux doesn't currently support IPV6
@etr
Copy link
Owner

@etr etr commented Aug 25, 2020

This feature is now on head. Thanks for requesting it.

@etr etr closed this Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.