Commit Graph
1823 Commits
Author SHA1 Message Date
Christian Grothoff d196c6cd64 fix FIXME about 128 connection limit; fix uninitialized 'fd' variable in send_param_adapter (when was this introduced?), change 'at_limit' type to 'bool' 2017-01-13 14:30:14 +01:00
Evgeny Grin (Karlson2k) b0b8633356 Added FIXME comment 2017-01-09 22:09:28 +03:00
Evgeny Grin (Karlson2k) 87c722090c Fixed processing of data in TLS buffers in epoll mode if more than 128 connections are ready 2017-01-09 21:55:51 +03:00
Evgeny Grin (Karlson2k) 491d411a01 Added FIXME comments 2017-01-08 23:50:27 +03:00
Evgeny Grin (Karlson2k) 295a4884c7 thread_main_connection_upgrade(): process data from TLS buffers 2017-01-08 23:47:29 +03:00
Evgeny Grin (Karlson2k) eee0b9ad40 Fixed regression introduced by f3b0eb539e 2017-01-08 23:47:28 +03:00
Evgeny Grin (Karlson2k) a6ea76afd5 connection->tls_read_ready: use 'true'/'false' instead of '!0'/'0' 2017-01-08 23:16:51 +03:00
Evgeny Grin (Karlson2k) bd3a8f5e00 Better check for pending outgoing data for "upgraded" connections 2017-01-08 18:04:08 +03:00
Christian Grothoff f3b0eb539e fix build issue if HAVE_MESSAGES is not set 2017-01-07 11:52:53 +01:00
Evgeny Grin (Karlson2k) 938b9b8dae fileserver_example: used MHD built-in function for sending files, added comments 2016-12-01 17:42:17 +03:00
Evgeny Grin (Karlson2k) 7f9b98e256 Fixed thread safety with responses with same file FD,
added enum value MHD_FEATURE_RESPONSES_SHARED_FD
2016-12-01 17:42:17 +03:00
Evgeny Grin (Karlson2k) 5bbf69f67d Fixed precompiler warning for tests 2016-12-01 17:42:16 +03:00
Christian Grothoff 8d1d0b8ff8 fix comment, rename to match argument 2016-11-29 14:31:50 +01:00
Evgeny Grin (Karlson2k) b3f1a958ce Fixed sending on Linux responses backed with file which is not supported by sendfile() 2016-11-26 15:18:48 +03:00
Evgeny Grin (Karlson2k) 46f67fb292 fixed test_postprocessor*: all files which includes "internal.h" require CFLAGS as well as CPPFLAGS for GnuTLS 2016-11-24 23:15:48 +03:00
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) 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) 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
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) 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 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) 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) 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