Commit Graph
1836 Commits
Author SHA1 Message Date
Christian Grothoff 4cd33c30b0 fix #4887 2017-02-12 09:38:44 +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 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) 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