Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | -fix compiler warning | Christian Grothoff | 2014-02-18 |
| | |||
* | testcurl/test_quiesce.c - port to W32 | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Don't allow compile with unsupported Cygwin configuration | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Remove PlibC files | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Remove PlibC from autotools files | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Remove PlibC from platform.h | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Reverse OpenSSL <-> GnuTLS check | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Replace plibc_init() and plibc_shutdown() | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Remove PlibC wrappers and macros | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Implement MHD_W32_random(), replace RANDOM() -> MHD_random_() | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | add sleep() and usleep() replacement for W32 | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | remove inet_pton() from tests, use real IPv6 loopback for test | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | test_get_sendfile.c - remove DIR_SEPARATOR_STR (W32 works fine with ↵ | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | | | | forwardslashes) | ||
* | gmtime_r() replacement on W32, add error check in get_date_string() | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | add ability to use socketspair instead of pipe, implement W32 ↵ | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | | | | | | pipe/socketspair emulation, implement MHD_SYS_select_ configure.ac: add "--disable-pipes" option | ||
* | add platform abstraction for errno and strerror, check EWOULDBLOCK ↵ | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | | | | additionally to EAGAIN | ||
* | Replace CLOSE() with MHD_socket_close_() for sockets | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Implement MHD_socket, MHD_INVALID_SOCKET | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | memorypool.c: use native memory function for W32 | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | Karlson2k: fix AM_CPPFLAGS vs AM_CFLAGS usage | Christian Grothoff | 2014-02-18 |
| | |||
* | Karlson2k: fix MHD_get_fdset with defined DEBUG_CONNECT | Christian Grothoff | 2014-02-15 |
| | |||
* | refactoring and cleanup of make_nonblocking_noninheritable(), | Christian Grothoff | 2014-02-12 |
| | | | | | | based on suggestions by Karlson2k <k2k@narod.ru> (but not exactly) | ||
* | From: Karlson2k <k2k@narod.ru> | Christian Grothoff | 2014-02-12 |
| | | | | | | | | Date: Wed, 12 Feb 2014 17:34:05 +0400 Subject: [PATCH] MHD_accept_connection small refactoring: choose at compile time instead of run time | ||
* | From: Karlson2k <k2k@narod.ru> | Christian Grothoff | 2014-02-12 |
| | | | | | | | Date: Wed, 12 Feb 2014 14:19:34 +0400 Subject: [PATCH] Fix _MHD_EXTERN if "platform.h" is included in external file | ||
* | clarification to documentation by Evgeny Grin | Christian Grothoff | 2014-02-11 |
| | |||
* | Patch from Karlson2k: fix MHD_get_fdset to accept NULL as max_fd, as ↵ | Christian Grothoff | 2014-02-11 |
| | | | | | | described in doxy | ||
* | -doxygen, style and indentation fixes to microspdy.h | Christian Grothoff | 2014-02-08 |
| | |||
* | size_t vs. int fixes by Evgeny Grin, plus some additional fixes by CG | Christian Grothoff | 2014-02-08 |
| | |||
* | -cosmetic patch from Evgeny Grin | Christian Grothoff | 2014-02-08 |
| | |||
* | Karlson2k: fix makefiles: src/daemon -> src/microhttpd | Christian Grothoff | 2014-02-04 |
| | |||
* | Karlson2k: Fix win32 cURL tests | Christian Grothoff | 2014-02-04 |
| | |||
* | Add decl check for _stati64 (required for newer plibc) | LRN | 2014-01-27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove redundant -no-undefined (it's part of mandatory MHD_LIB_LDFLAGS now) Remove --export-all-symbols for W32 (visibility is used instead) Add -fvisibility=hidden configure check (shamelessly borrowed from GTK) Remove unused -export-symbols-regex check Define _MHD_EXTERN to "extern" if it's undefined (this is what clients get) Mark all public functions with _MHD_EXTERN Remove HIDDEN_SYMBOL definition Don't mark hidden functions with HIDDEN_SYMBOL (everything that is not explicitly public is hidden by default now) Change constructor macros a bit to apply _MHD_EXTERN to them cleanly Use HIDDEN_VISIBILITY_CFLAGS when compiling libraries Remove EXPORT.sym files, don't mention them in EXTRA_DIST, don't use them to define a list of exported functions Remove redundant -no-undefined, make sure only the one that gets into Makefiles directly remains, remove -Wl prefix from it | ||
* | -bump | Christian Grothoff | 2014-01-22 |
| | |||
* | Luke-Jr wrote: | Christian Grothoff | 2014-01-22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MHD_USE_DUAL_STACK in libmicrohttpd currently just *inhibits setting* the IPV6_V6ONLY socket option, but per Microsoft's documentation http://msdn.microsoft.com/en-us/library/windows/desktop/bb513665(v=vs.85).aspx the default on Windows is that this is enabled, thus MHD_USE_DUAL_STACK will not work (since it leaves the default). libmicrohttpd should probably just unconditionally set IPV6_V6ONLY to the desired value when the option is available. diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 0a33b77..3cbf28e 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -3493,8 +3493,7 @@ MHD_start_daemon_va (unsigned int flags, } daemon->socket_fd = socket_fd; - if ( (0 != (flags & MHD_USE_IPv6)) && - (MHD_USE_DUAL_STACK != (flags & MHD_USE_DUAL_STACK)) ) + if (0 != (flags & MHD_USE_IPv6)) { #ifdef IPPROTO_IPV6 #ifdef IPV6_V6ONLY @@ -3503,10 +3502,11 @@ MHD_start_daemon_va (unsigned int flags, and may also be missing on older POSIX systems; good luck if you have any of those, your IPv6 socket may then also bind against IPv4 anyway... */ #ifndef WINDOWS - const int on = 1; + const int #else - const char on = 1; + const char #endif + on = (MHD_USE_DUAL_STACK != (flags & MHD_USE_DUAL_STACK)); if ( (0 > SETSOCKOPT (socket_fd, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof (on))) && | ||
* | -grammar | Christian Grothoff | 2014-01-13 |
| | |||
* | -version bump | Christian Grothoff | 2014-01-01 |
| | |||
* | enable use of keep-alive with http 1.0 if explicitly requested by the client | Christian Grothoff | 2014-01-01 |
| | |||
* | mhd2spdy: usage info | Andrey Uzunov | 2013-12-28 |
| | |||
* | spdy: fixed bug when adding header with NULL value | Andrey Uzunov | 2013-12-28 |
| | |||
* | -fix dist by adding missing files | Christian Grothoff | 2013-12-28 |
| | |||
* | -re-adding logic to restrict exported symbols via linker, unsure how/when ↵ | Christian Grothoff | 2013-12-24 |
| | | | | that disappeared | ||
* | -hiding a few more | Christian Grothoff | 2013-12-24 |
| | |||
* | -missing include | Christian Grothoff | 2013-12-24 |
| | |||
* | -hide symbols | Christian Grothoff | 2013-12-24 |
| | |||
* | -work around compiler warnings | Christian Grothoff | 2013-12-22 |
| | |||
* | -releasing 0.9.33 | Christian Grothoff | 2013-12-21 |
| | |||
* | add support for SNI | Christian Grothoff | 2013-12-21 |
| | |||
* | -fix postexample | Christian Grothoff | 2013-12-21 |
| | |||
* | -fix issue with sendfile incrementing buffer offset when it should not | Christian Grothoff | 2013-12-20 |
| | |||
* | remove debug message | Matthias Wachs | 2013-12-20 |
| |