Commit Graph
2202 Commits
Author SHA1 Message Date
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
Evgeny Grin (Karlson2k) 24725d33d9 Used calloc() where possible with fallback to malloc()+memset(). 2016-11-07 21:03:07 +03:00
Evgeny Grin (Karlson2k) 45dabc9d25 Removed outdated note from description comment. 2016-11-07 17:39:27 +03:00
Evgeny Grin (Karlson2k) 959d55ec5e Renamed MHD flags. Now all flags are in forms MHD_USE_* or MHD_ALLOW_*. 2016-11-07 17:08:03 +03:00
Evgeny Grin (Karlson2k) 35b58f8e09 Compare threads IDs in portable and documented way. 2016-11-07 15:24:07 +03:00
Evgeny Grin (Karlson2k) 9ea8967171 Combine upgrade tests into single source file, port to platforms without fork() 2016-11-07 14:39:09 +03:00
Evgeny Grin (Karlson2k) 8b10b7801c Stick to C99 standard 'bool' for internals, fallback to 'int' when 'bool' is not available 2016-11-06 16:52:07 +03:00
Evgeny Grin (Karlson2k) 29a91f5ddb test_quiesce_stream.c: convert C++-style comments 2016-11-05 17:31:05 +03:00
Christian Grothoff 3ccd1b4586 return skipped if wget was not found 2016-11-04 21:58:09 +01:00
Christian Grothoff 94ff070774 adding test from Markus (adapted by me to C and MHD-style) 2016-11-04 21:57:17 +01:00
Christian Grothoff d7392e0882 all flags start with MHD_USE_, rename MHD_ALLOW_UPGRADE to MHD_USE_UPGRADE for consistency 2016-11-04 17:02:56 +01:00
Christian Grothoff ca582a0633 add example for MHD upgrade use 2016-11-04 17:01:25 +01:00
Christian Grothoff f8e3016ce0 document new invariants introduced by afe4f08eda 2016-11-04 16:36:17 +01:00
Christian Grothoff 43227e1b18 update manual in line with commit cbd9376691 2016-11-04 16:26:09 +01:00
Christian Grothoff 892de41802 change order to reduce #ifdef'ing 2016-11-04 14:40:15 +01:00
Christian Grothoff a0118ad4e1 reverting dd327c1d13 as it introduces a race on 'resuming' which was previously deliberately avoided 2016-11-04 14:36:04 +01:00
Christian Grothoff 86706fd27d use MHD_YES/MHD_NO instead of 0/not-0 2016-11-04 14:30:24 +01:00
Christian Grothoff 82ce5348c5 use MHD_YES/NO instead of 0/!0 2016-11-04 11:42:22 +01:00
Christian Grothoff e5c74b3a12 style fix: this 'const' is at best confusing, as we are about to free, plus initialize 'daemon' immediately for symmetry 2016-11-04 11:30:20 +01:00
Christian Grothoff 11f00055cf style fix: this 'const' is at best confusing, as we are about to free 2016-11-04 11:28:35 +01:00
Christian Grothoff ec46999ff5 style fix: in MHD-style, we always put the const before 'struct' 2016-11-04 11:26:30 +01:00
Christian Grothoff f285812390 fix commit 334468c467 which introduced wrong branch for openssl command-line tool in test 2016-11-04 11:21:25 +01:00
Evgeny Grin (Karlson2k) 90086f0531 Added MHD_FEATURE_TLS with as synonym for MHD_FEATURE_SSL. 2016-11-03 16:51:52 +03:00