please find attached a patch that allows to set/unset MHD_USE_TLS
without being enforced to add/remove HTTPS options.
Best regards
José Bollo
From b36db063495a1d2e185a491f42560294fe88ba33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Bollo?=
Date: Tue, 4 Dec 2018 15:45:12 +0100
Subject: [P
Hi,
Can MHD listen on both IPv4 and IPv6 address at the same time?
Thanks, Santos
Hi Santos.
You can do it using the flag MHD_USE_DUAL_STACK:
/**
* Use a single socket for IPv4 and IPv6.
*/
MHD_USE_DUAL_STACK = MHD_USE_IPv6 | 2048,
Cheers!
On Tue, Dec 4, 2018 at 1:45 PM Santos Das wrote:
> Hi,
>
> Can MHD listen on both IPv4 and IPv6 address at the same time?
>
>
Thank you.
Regards, Santos
On Tue, Dec 4, 2018 at 10:18 PM silvioprog wrote:
> Hi Santos.
>
> You can do it using the flag MHD_USE_DUAL_STACK:
>
> /**
>* Use a single socket for IPv4 and IPv6.
>*/
> MHD_USE_DUAL_STACK = MHD_USE_IPv6 | 2048,
>
> Cheers!
>
> On Tue, Dec 4, 2018 at 1:4
Yes,
look for MHD_USE_DUAL_STACK:
https://www.gnu.org/software/libmicrohttpd/manual/html_node/microhttpd_002dconst.html
On 12/4/18 5:40 PM, Santos Das wrote:
> Hi,
>
> Can MHD listen on both IPv4 and IPv6 address at the same time?
>
> Thanks, Santos
>