aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* -fix compiler warningChristian Grothoff2014-02-18
|
* testcurl/test_quiesce.c - port to W32Evgeny Grin (Karlson2k)2014-02-18
|
* Don't allow compile with unsupported Cygwin configurationEvgeny Grin (Karlson2k)2014-02-18
|
* Remove PlibC filesEvgeny Grin (Karlson2k)2014-02-18
|
* Remove PlibC from autotools filesEvgeny Grin (Karlson2k)2014-02-18
|
* Remove PlibC from platform.hEvgeny Grin (Karlson2k)2014-02-18
|
* Reverse OpenSSL <-> GnuTLS checkEvgeny Grin (Karlson2k)2014-02-18
|
* Replace plibc_init() and plibc_shutdown()Evgeny Grin (Karlson2k)2014-02-18
|
* Remove PlibC wrappers and macrosEvgeny 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 W32Evgeny Grin (Karlson2k)2014-02-18
|
* remove inet_pton() from tests, use real IPv6 loopback for testEvgeny 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 socketsEvgeny Grin (Karlson2k)2014-02-18
|
* Implement MHD_socket, MHD_INVALID_SOCKETEvgeny Grin (Karlson2k)2014-02-18
|
* memorypool.c: use native memory function for W32Evgeny Grin (Karlson2k)2014-02-18
|
* Karlson2k: fix AM_CPPFLAGS vs AM_CFLAGS usageChristian Grothoff2014-02-18
|
* Karlson2k: fix MHD_get_fdset with defined DEBUG_CONNECTChristian Grothoff2014-02-15
|
* refactoring and cleanup of make_nonblocking_noninheritable(),Christian Grothoff2014-02-12
| | | | | | based on suggestions by Karlson2k <k2k@narod.ru> (but not exactly)
* From: Karlson2k <k2k@narod.ru>Christian Grothoff2014-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 Grothoff2014-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 GrinChristian Grothoff2014-02-11
|
* Patch from Karlson2k: fix MHD_get_fdset to accept NULL as max_fd, as ↵Christian Grothoff2014-02-11
| | | | | | described in doxy
* -doxygen, style and indentation fixes to microspdy.hChristian Grothoff2014-02-08
|
* size_t vs. int fixes by Evgeny Grin, plus some additional fixes by CGChristian Grothoff2014-02-08
|
* -cosmetic patch from Evgeny GrinChristian Grothoff2014-02-08
|
* Karlson2k: fix makefiles: src/daemon -> src/microhttpdChristian Grothoff2014-02-04
|
* Karlson2k: Fix win32 cURL testsChristian Grothoff2014-02-04
|
* Add decl check for _stati64 (required for newer plibc)LRN2014-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
* -bumpChristian Grothoff2014-01-22
|
* Luke-Jr wrote:Christian Grothoff2014-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))) &&
* -grammarChristian Grothoff2014-01-13
|
* -version bumpChristian Grothoff2014-01-01
|
* enable use of keep-alive with http 1.0 if explicitly requested by the clientChristian Grothoff2014-01-01
|
* mhd2spdy: usage infoAndrey Uzunov2013-12-28
|
* spdy: fixed bug when adding header with NULL valueAndrey Uzunov2013-12-28
|
* -fix dist by adding missing filesChristian Grothoff2013-12-28
|
* -re-adding logic to restrict exported symbols via linker, unsure how/when ↵Christian Grothoff2013-12-24
| | | | that disappeared
* -hiding a few moreChristian Grothoff2013-12-24
|
* -missing includeChristian Grothoff2013-12-24
|
* -hide symbolsChristian Grothoff2013-12-24
|
* -work around compiler warningsChristian Grothoff2013-12-22
|
* -releasing 0.9.33Christian Grothoff2013-12-21
|
* add support for SNIChristian Grothoff2013-12-21
|
* -fix postexampleChristian Grothoff2013-12-21
|
* -fix issue with sendfile incrementing buffer offset when it should notChristian Grothoff2013-12-20
|
* remove debug messageMatthias Wachs2013-12-20
|