3494 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) f7c5c302a3 Released GNU libmicrohttpd 0.9.72 v0.9.72 2020-12-28 21:38:03 +03:00
Evgeny Grin (Karlson2k) 3be7e06961 Fixed compiler warning for 32-bit 2020-12-28 21:34:03 +03:00
Evgeny Grin (Karlson2k) 5909c4fd77 ChangeLog updated 2020-12-28 13:25:59 +03:00
Evgeny Grin (Karlson2k) ea5a9d7a4c daemon.c: muted Oracle compiler warning
Oracle Developer Studio cc compiler is too picky about pointers
conversion from/to void*. Muted warning for the main code and
left some warnings in examples as they are too obvious.
2020-12-28 13:18:05 +03:00
Evgeny Grin (Karlson2k) 9599a5ea76 mhd_send: clarification of comment 2020-12-28 10:26:43 +03:00
Evgeny Grin (Karlson2k) 0a88f8e439 ChangeLog updated 2020-12-28 10:18:03 +03:00
Evgeny Grin (Karlson2k) f1ba9b430e mhd_send: do not emulate sendmsg() on blocking sockets
If OS doesn't support non-blocking sockets then additional call of
select() or poll() is required to lower chances of being blocked.
2020-12-28 09:58:40 +03:00
Evgeny Grin (Karlson2k) 2da6d2d800 Fixed analyzer warning 2020-12-27 20:10:32 +03:00
Evgeny Grin (Karlson2k) 7bc79627ff Fixed build --without-threads
TODO: Fully fix testsuite for builds without threads
2020-12-27 19:38:33 +03:00
Evgeny Grin (Karlson2k) 0592f4e2c0 Fixed configure --without-threads 2020-12-27 18:23:07 +03:00
Evgeny Grin (Karlson2k) 72e1143ce7 Fixed build with --disable-bauth 2020-12-27 18:09:43 +03:00
Evgeny Grin (Karlson2k) a061caa22e Fixed builds with --disable-https or --disable-httpupgrade 2020-12-27 18:01:48 +03:00
Evgeny Grin (Karlson2k) f53db2892e Muted compiler warnings 2020-12-27 17:35:49 +03:00
Evgeny Grin (Karlson2k) b5315c24cc Fixed builds with --disable-messages 2020-12-27 17:07:38 +03:00
Evgeny Grin (Karlson2k) 6d7b7d00a3 configure: minor fixes 2020-12-27 17:05:34 +03:00
Evgeny Grin (Karlson2k) d880367c4e test_postprocessor_md: fixed wrong CPPFLAGS 2020-12-26 17:49:46 +03:00
Evgeny Grin (Karlson2k) d734eb8b5a Softer one test for macOS 2020-12-26 15:09:35 +03:00
Evgeny Grin (Karlson2k) 531d9a95d7 Fixed copy-paste mistake
Regression from 8c1dfff29d
2020-12-26 14:34:11 +03:00
Evgeny Grin (Karlson2k) 8c1dfff29d Fixed init and deinit of mutex 2020-12-26 14:28:48 +03:00
Evgeny Grin (Karlson2k) 1d5efc0349 Examples: fixed logic error 2020-12-25 20:17:59 +03:00
Evgeny Grin (Karlson2k) 9e846e522b Fixed build and socket init on macOS 2020-12-25 20:17:53 +03:00
Evgeny Grin (Karlson2k) d3589c58ff Revert "fix #6594: better test for gnutls_record_uncork"
This reverts commit ed6afa825e.
MHD is not using gnutls_record_(un)cork anymore, allow to
compile it with older GnuTLS.
NOTE: it's generally bad idea to use outdated versions of
TLS lib as it may contain some vulnerabilities.
2020-12-25 17:37:56 +03:00
Evgeny Grin (Karlson2k) fb283746eb examples: fixed portability and compiler warnings 2020-12-24 15:35:25 +03:00
Evgeny Grin (Karlson2k) 5c659994bf examples: fixed wrong array initialisation 2020-12-24 15:27:55 +03:00
Evgeny Grin (Karlson2k) e8ee7c64bd updated m4/ax_*.m4 macros 2020-12-23 22:57:55 +03:00
Evgeny Grin (Karlson2k) 6d7f0a8f54 Fixed and muted compiler warnings 2020-12-23 22:40:59 +03:00
Evgeny Grin (Karlson2k) aee82048c2 Even more reduced number of test iterations on W32 to avoid ports exhaust 2020-12-23 21:26:26 +03:00
Evgeny Grin (Karlson2k) c65894267b Improved vector-send handling on W32
Fixed compiler warning, simplified code
2020-12-23 19:08:20 +03:00
Evgeny Grin (Karlson2k) 2d0ecf9393 Refined TCP_NOPUSH handling on OpenBSD 2020-12-22 19:48:39 +03:00
Evgeny Grin (Karlson2k) 736fe430cb MHD_send_sendfile_: Fixed wrong send size.
Fixed typo, 9e45e2486f regression
2020-12-22 03:59:26 +03:00
Evgeny Grin (Karlson2k) eaae7f5c54 daemon.c: Fixed copy-paste error 2020-12-22 01:32:00 +03:00
Evgeny Grin (Karlson2k) 4aeab8d849 configure: minor fixes 2020-12-22 01:23:31 +03:00
Evgeny Grin (Karlson2k) 7c73528933 Fixed: avoided SIGPIPE if possiible
Added blocking of SIGPIPE on daemon threads.
Added tracking of SIGPIPE suppressions on sockets.
Added fallback to normal send() instead of sendfile() and writev() if
SIGPIPE is not blocked.
2020-12-21 13:28:32 +03:00
Evgeny Grin (Karlson2k) 70201b593e daemon.c: fixed build
Regression from 822802f218
2020-12-20 21:17:01 +03:00
Evgeny Grin (Karlson2k) 822802f218 new connection: small refactoring for readability 2020-12-19 11:03:40 +03:00
Evgeny Grin (Karlson2k) 2381276a15 Do not reset buffering on added connection
Buffering is handled completely in mhd_send.c
2020-12-19 10:44:05 +03:00
Evgeny Grin (Karlson2k) d87dcd8309 MHD_send_hdr_and_body_: minor fixes for W32 2020-12-16 20:17:14 +03:00
Evgeny Grin (Karlson2k) 3c2c1d3aa9 Fixed typo
Regression from d1d9637605
2020-12-16 17:16:19 +03:00
Evgeny Grin (Karlson2k) d1d9637605 mhd_send.c: added support for vector-send on W32 2020-12-16 15:21:12 +03:00
Evgeny Grin (Karlson2k) 35c2a1eb81 mhd_send.c: minor code and comment fixes 2020-12-16 15:17:52 +03:00
Evgeny Grin (Karlson2k) 259f7659f5 Fixed debug build without TLS support 2020-12-16 15:08:50 +03:00
Evgeny Grin (Karlson2k) 5bd045bdb5 Updated W32 resource files 2020-12-15 22:12:58 +03:00
Evgeny Grin (Karlson2k) d98105b91b Fixed compiler warning 2020-12-15 22:09:00 +03:00
Evgeny Grin (Karlson2k) c1115185b8 Muted some compiler warnings 2020-12-13 21:27:23 +03:00
Evgeny Grin (Karlson2k) ef091c941a mhd_send.c: fixed warnings 2020-12-13 20:54:32 +03:00
Evgeny Grin (Karlson2k) a120d27045 mhd_send.c: renamed function, moved doxy
Function MHD_send_on_connection_() renamed to a shorte MHD_send_data_().
Doxy moved to the header.
Removed declaration of unused enum MHD_SendSocketOptions.
2020-12-13 19:50:12 +03:00
Evgeny Grin (Karlson2k) 179f57bce2 mhd_send.c: streamlined code, fixed doxy
Header pushing/not pushing is now correctly handled in
function MHD_send_hdr_and_body_(), no need to use broken logic
in MHD_send_on_connection_(). Replaced parameter
enum MHD_SendSocketOptions options with simple bool value.
2020-12-13 19:43:08 +03:00
Evgeny Grin (Karlson2k) 005c768699 mhd_send.c: fixed: properly handle send errors
Fixed busy-waiting with epoll and sendmsg().
2020-12-13 18:35:27 +03:00
Evgeny Grin (Karlson2k) ee8b319806 MHD_send_hdr_and_body_: deduplicated code 2020-12-13 17:39:08 +03:00
Evgeny Grin (Karlson2k) 526de1a8e1 MHD_send_hdr_and_body_: streamlined code 2020-12-13 17:37:14 +03:00