[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Cleanup callback isn't called
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] Cleanup callback isn't called |
Date: |
Wed, 15 Sep 2010 08:38:46 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.32-5-686; KDE/4.4.5; i686; ; ) |
As I've explained on the list before, not setting that option is virtually
always a bad idea (especially since depending on the OS, you may still get a
V6-only bind anyway). Now, if you really know what you're doing, then you can
simply use the LISTEN_SOCKET option of MHD and do the socket-bind-listen
sequence entirely yourself -- then you have full control. So in that sense,
such an option already exists.
Happy hacking
Christian
On Tuesday 14 September 2010 18:34:11 Erik Slagter wrote:
> Oh BTW, another "issue" imho: the library always sets
>
> setsockopt (socket_fd, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof (on));
>
> when ipv6 is selected.
>
> This is not always what you want. In my case I have some clients that do
> not support ipv6, so the daemon needs to respond to both ipv4 and ipv6.
>
> I now have hardcoded this to 0 for the moment, but I guess an explicit
> option would be welcome.
- Re: [libmicrohttpd] Cleanup callback isn't called, Erik Slagter, 2010/09/01
- Message not available
- Message not available
- Re: [libmicrohttpd] Cleanup callback isn't called, Erik Slagter, 2010/09/14
- Re: [libmicrohttpd] Cleanup callback isn't called, Erik Slagter, 2010/09/14
- Re: [libmicrohttpd] Cleanup callback isn't called,
Christian Grothoff <=
- Re: [libmicrohttpd] Cleanup callback isn't called, Erik Slagter, 2010/09/15
- [libmicrohttpd] shoutcast streaming using libmicrohttpd, Erik Slagter, 2010/09/17
- Re: [libmicrohttpd] shoutcast streaming using libmicrohttpd, Christian Grothoff, 2010/09/17
- Re: [libmicrohttpd] shoutcast streaming using libmicrohttpd, Erik Slagter, 2010/09/17
- Re: [libmicrohttpd] shoutcast streaming using libmicrohttpd, Christian Grothoff, 2010/09/17
- Re: [libmicrohttpd] shoutcast streaming using libmicrohttpd, Erik Slagter, 2010/09/17
- Re: [libmicrohttpd] shoutcast streaming using libmicrohttpd, Christian Grothoff, 2010/09/18
- Re: [libmicrohttpd] Cleanup callback isn't called, Christian Grothoff, 2010/09/15