Commit Graph
4924 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) c2fa486399 test_upgrade: fixed compiler flags 2016-11-24 19:20:43 +03:00
Evgeny Grin (Karlson2k) 92a6b87757 MHD_start_daemon_va(): fixed wrong check caused daemon failure on some platforms 2016-11-24 18:05:00 +03:00
Evgeny Grin (Karlson2k) 1890d51a8c configure.ac: rewritten test for lib magic. 2016-11-24 18:04:25 +03:00
Evgeny Grin (Karlson2k) 7b1b32c6a4 test_upgrade.c: fixed compatibility with older GnuTLS 2016-11-24 18:04:24 +03:00
Evgeny Grin (Karlson2k) f4a6e110ac resume_suspended_connections(): Removed FIXME from code. 2016-11-24 15:09:55 +03:00
Evgeny Grin (Karlson2k) 3a7f7a97eb test_quiesce_stream: use curl binary, port to W32,
use tests with fork() only when fork() is available (already checked by configure)
2016-11-24 11:37:55 +03:00
Evgeny Grin (Karlson2k) 14e903bac9 Make sure that 'clean' target is not failed in 'po' subdir. 2016-11-23 23:23:45 +03:00
Karlson2k f9f8d0c54d Updated documentation. 2016-11-23 17:44:38 +03:00
Evgeny Grin (Karlson2k) 198181f178 Use both SO_REUSEADDR and SO_REUSEPORT on non-W32 if MHD_OPTION_LISTENING_ADDRESS_REUSE is set. 2016-11-23 15:28:03 +03:00
Evgeny Grin (Karlson2k) 7f5c98bfa1 Gettext staff moved to 'po' directory. Main 'configure' now do not check for
gettext and related staff.
2016-11-23 14:16:49 +03:00
Christian Grothoff 816458fde9 give a bit more context in log message 2016-11-18 16:48:15 +01:00
Christian Grothoff b0311abe8d give a bit more context in log message 2016-11-18 16:47:37 +01:00
Evgeny Grin (Karlson2k) c8a751d079 Removed upgrade test leftover from Makefile.am 2016-11-17 21:03:49 +03:00
Evgeny Grin (Karlson2k) dc4ef6b517 Additional 'bool' configure checks and fixes for old VS compilers 2016-11-17 17:49:20 +03:00
Evgeny Grin (Karlson2k) c99bb7febb configure.ac: check for "true" and "false" and substitute a replacement if required.
This will allow to use "true" and "false" in code, even if compiler don't support them internally.
2016-11-16 21:17:00 +03:00
Christian Grothoff 194d72e1f9 indeed this can happen with the fast path where we call the idle handler in a special place just after sending the header, and thus might call it twice for the same connection in the same event loop run, thereby possibly entering cleanup twice, causing trouble; retracting FIXME 2016-11-16 10:07:36 +01:00
Evgeny Grin (Karlson2k) b357bbaa6f Fixed forwarding data of TLS "upgraded" connections for chunks sizes larger than forward buffer 2016-11-15 19:11:56 +03:00
Evgeny Grin (Karlson2k) 03e7c4f4d5 Fixed English in comments 2016-11-15 19:00:39 +03:00
Evgeny Grin (Karlson2k) bc83858f65 Updated documentation about MHD_OPTION_LISTENING_ADDRESS_REUSE 2016-11-14 22:35:26 +03:00
Evgeny Grin (Karlson2k) 0af992b3a2 Fixed usage of MHD with MHD_OPTION_LISTENING_ADDRESS_REUSE on Linux 3.2, 3.4 (longterm) 2016-11-14 22:24:38 +03:00
Evgeny Grin (Karlson2k) 8f6c5894b3 Fixed unintentional usage of SO_REUSEPORT on W32. 2016-11-14 21:15:30 +03:00
Evgeny Grin (Karlson2k) b484461cd3 Added support for SO_EXCLBIND socket option on Solaris.
Enabled by MHD_OPTION_LISTENING_ADDRESS_REUSE with zero.
2016-11-14 20:54:40 +03:00
Evgeny Grin (Karlson2k) e5eade4a32 Used 'bool' for struct MHD_Connection::tls_read_ready 2016-11-14 15:51:47 +03:00
Evgeny Grin (Karlson2k) 0310cef014 Fixed connection's closure reason in thread-per-connection mode. 2016-11-14 14:53:00 +03:00
Christian Grothoff f30211ed82 fixes to fix Doppelbauer testcase 2016-11-13 19:19:30 +01:00
Christian Grothoff d95ee55386 fixes to fix Doppelbauer testcase 2016-11-13 19:19:20 +01:00
Christian Grothoff 53673f6b21 use 'bool' for a few more internal fields 2016-11-13 18:52:33 +01:00
Evgeny Grin (Karlson2k) 280232dc1e Added support for faster setting thread names by pthread_attr_setname_np() where available. 2016-11-11 20:56:38 +03:00
Evgeny Grin (Karlson2k) 631a581657 mhd_threads.c: added missing comments about thread names on QNX 2016-11-11 20:56:38 +03:00
Evgeny Grin (Karlson2k) 52e995c0a7 mhd_itc.c: fixed typo preventing build on Solaris and other systems. 2016-11-11 13:24:30 +03:00
Evgeny Grin (Karlson2k) b37c6545e7 configure.ac: fixed typo prevented thread naming on FreeBSD 2016-11-10 23:09:12 +03:00
Evgeny Grin (Karlson2k) 4b795e9fc6 Added MHD_USE_AUTO and MHD_USE_AUTO_INTERNAL_THREAD to simplify using of MHD by multi-platform applications 2016-11-10 22:18:20 +03:00
Evgeny Grin (Karlson2k) a22746fc85 MHD_start_daemon(): reject invalid combinations of flags 2016-11-10 22:18:16 +03:00
Evgeny Grin (Karlson2k) 36c72bd37c Removed unused variable. 2016-11-10 22:18:15 +03:00
Evgeny Grin (Karlson2k) 832ebd16a8 Updated ChangeLog and bumped version patchlevel. 2016-11-10 19:27:34 +03:00
Evgeny Grin (Karlson2k) e067df9397 One more flag renamed: MHD_USE_EPOLL_TURBO -> MHD_USE_TURBO.
Hopefully last one for now.
2016-11-10 17:42:28 +03:00
Evgeny Grin (Karlson2k) 51c1f5e65b Use non-blocking sockets for fast responses 2016-11-10 17:11:35 +03:00
Evgeny Grin (Karlson2k) e05239e5c7 Mark connection as blocking or non-blocking 2016-11-10 17:05:35 +03:00
Evgeny Grin (Karlson2k) be045a0476 Prevent accidental double-cleanup 2016-11-10 17:05:29 +03:00
Evgeny Grin (Karlson2k) 6d52234627 perf_get: used same names as in perf_get_concurrent 2016-11-10 16:27:42 +03:00
Evgeny Grin (Karlson2k) 1b0c23c119 perf_get_concurrent: fixed tests descriptions 2016-11-10 16:27:42 +03:00
Evgeny Grin (Karlson2k) d2e9b53c6e Define missing HAVE_STDBOOL_H for VS 2016-11-10 16:27:41 +03:00
Evgeny Grin (Karlson2k) df98141b03 Added missing MHD_USE_INTERNAL_POLLING_THREAD in examples. 2016-11-08 19:44:50 +03:00
Evgeny Grin (Karlson2k) d5245634c2 Added MHD_USE_ERROR_LOG flag with same value as MHD_USE_DEBUG.
New name better explains flag actions.
2016-11-08 19:41:28 +03:00
Evgeny Grin (Karlson2k) 2636c2090d Renamed MHD flags: do not print deprecation messages for some time. 2016-11-08 19:22:02 +03:00
Evgeny Grin (Karlson2k) c39f9bfb26 Specify that flag MHD_USE_INTERNAL_POLLING_THREAD is mandatory if MHD_USE_THREAD_PER_CONNECTION is used 2016-11-08 01:00:00 +03:00
Evgeny Grin (Karlson2k) fdf24fa69f Fixed descriptions in comments 2016-11-08 01:00:00 +03:00
Evgeny Grin (Karlson2k) bae7dc05a8 Fixed wrong flag name in documentation. 2016-11-08 01:00:00 +03:00
Evgeny Grin (Karlson2k) a48ca85fb7 Renamed daemon flags:
MHD_USE_SELECT_INTERNALLY -> MHD_USE_INTERNAL_POLLING_THREAD
MHD_USE_POLL_INTERNALLY -> MHD_USE_POLL_INTERNAL_THREAD
MHD_USE_EPOLL_INTERNALLY -> MHD_USE_EPOLL_INTERNAL_THREAD
2016-11-08 00:54:59 +03:00
Evgeny Grin (Karlson2k) 4e4a1ce2bb Fixed calloc() substitution. 2016-11-07 21:31:42 +03:00