Commit Graph
2257 Commits
Author SHA1 Message Date
Christian Grothoff 2e826fb4ee fix #4884 2017-02-12 09:42:23 +01:00
Christian Grothoff 4cd33c30b0 fix #4887 2017-02-12 09:38:44 +01:00
Christian Grothoff 9aa15f708b fix #4888 2017-02-12 09:35:38 +01:00
Evgeny Grin (Karlson2k) 47fdebac4b Rewrote epoll handling: handle all connections instead of drying last active 2017-02-08 22:44:21 +03:00
Christian Grothoff eba022ce02 shutdown triggered select is not true for FreeBSD 2017-02-01 00:09:29 +01:00
Christian Grothoff b98468404c avoid c99 construct, we do not yet require c99 elsewhere 2017-01-31 13:28:14 +01:00
Evgeny Grin (Karlson2k) c623d35dcc test_large_put: added poll() and epoll testing. 2017-01-23 00:10:03 +03:00
Evgeny Grin (Karlson2k) 2618c8c42f test_large_put: added test with incremental read and limited buffer 2017-01-23 00:10:03 +03:00
Evgeny Grin (Karlson2k) 2ed00da9ba test_large_put: added verbosity 2017-01-23 00:10:03 +03:00
Evgeny Grin (Karlson2k) c58fcc7391 test_large_put: initialise test buffer with varied data to detect more errors. 2017-01-23 00:10:02 +03:00
Evgeny Grin (Karlson2k) f3010a183c test_large_put: support incremental reading of incoming data 2017-01-23 00:10:02 +03:00
Evgeny Grin (Karlson2k) a610b8cc90 test_large_put: use proper types for size variables 2017-01-23 00:09:57 +03:00
Evgeny Grin (Karlson2k) b5b3e2fee2 test_large_put: renamed functions for readability 2017-01-23 00:09:57 +03:00
Evgeny Grin (Karlson2k) b6adf207b3 test_large_put: updated to use correct check for "11" in name and return '99' in case of system failures. 2017-01-23 00:09:51 +03:00
Evgeny Grin (Karlson2k) 44eec40651 send_param_adapter(): improved var name, used correct var type. 2017-01-21 21:50:17 +03:00
Evgeny Grin (Karlson2k) 313e750c65 Fixed processing epoll with many connections to accept.
If 'accept_pending' were set to 'true' not connection transfer occurred.
Additionally 'accept_pending' never reset to false.
2017-01-21 21:42:05 +03:00
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) 1d14778635 Precompiler macro testing: exclude wcsnlen() test on OpenBSD as on NetBSD. 2016-11-24 23:15:49 +03:00
Evgeny Grin (Karlson2k) 709b3c5408 Use "shutdown trigger poll()" on OpenBSD 2016-11-24 23:15: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) 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