[libmicrohttpd] improvement in HTTPS option parsing

2018-12-04 Thread José Bollo
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

[libmicrohttpd] Regarding IPV4/IPV6 support

2018-12-04 Thread Santos Das
Hi, Can MHD listen on both IPv4 and IPv6 address at the same time? Thanks, Santos

Re: [libmicrohttpd] Regarding IPV4/IPV6 support

2018-12-04 Thread silvioprog
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? > >

Re: [libmicrohttpd] Regarding IPV4/IPV6 support

2018-12-04 Thread Santos Das
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

Re: [libmicrohttpd] Regarding IPV4/IPV6 support

2018-12-04 Thread Moritz Warning
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 >