3601 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 7b93a775cd Released GNU libmicrohttpd 0.9.73 v0.9.73 2021-04-25 13:53:59 +03:00
Evgeny Grin (Karlson2k) b7b0ed28db Updated ChangeLog 2021-04-25 13:11:23 +03:00
Evgeny Grin (Karlson2k) 0a374c71b8 Updates for MSVC builds 2021-04-24 23:01:18 +03:00
Evgeny Grin (Karlson2k) eb76464cdf connection.c: muted compiler warning for builds without messages 2021-04-24 18:06:08 +03:00
Evgeny Grin (Karlson2k) e66aac06c0 Updated ChangeLog 2021-04-24 16:06:55 +03:00
Christian Grothoff 7241cb611a -fix typos 2021-04-24 00:05:37 +02:00
Evgeny Grin (Karlson2k) 1683a563db Fixed compiler warning 2021-04-23 18:05:37 +03:00
Evgeny Grin (Karlson2k) fa3e94ddcd Fixed compiler warnings on x32 2021-04-23 18:05:36 +03:00
Evgeny Grin (Karlson2k) 4049caeb1c Fixed build without poll() 2021-04-23 18:05:36 +03:00
Evgeny Grin (Karlson2k) ba5174d488 Fixed build with MSVC, fixed compiler warnings 2021-04-23 18:05:24 +03:00
Evgeny Grin (Karlson2k) 70a4aff15b daemon: fixed build without HTTPS 2021-04-22 20:07:52 +03:00
Evgeny Grin (Karlson2k) a55b52f027 test_upgrade{,_large}: removed use on unportable function
Usage of CORK is not required for upgraded connection,
CORK is not portable. To make test behavior unified for
all supported platforms, CORK usage is removed from tests.
2021-04-22 13:17:29 +03:00
Evgeny Grin (Karlson2k) 79df07303a upgraded connection: ensure normal buffering
Ensure that TCP_CORK and TCP_NODELAY are disabled for
upgraded sockets.
2021-04-22 12:11:02 +03:00
Evgeny Grin (Karlson2k) 387ec260ee Fixed copy-paster and typo errors 2021-04-22 12:08:21 +03:00
Evgeny Grin (Karlson2k) 85b9c083b7 Corrected typos in ChangeLog 2021-04-22 12:06:58 +03:00
Evgeny Grin (Karlson2k) 78a167d80a ChangeLog updated 2021-04-21 11:58:48 +03:00
Evgeny Grin (Karlson2k) 4b54e7c0a9 configure: disable NLS by default 2021-04-20 17:11:16 +03:00
Evgeny Grin (Karlson2k) af1bf13fad Formatting and comments for 4e8f86a655 2021-04-19 18:58:52 +03:00
Evgeny Grin (Karlson2k) 4e8f86a655 Added support for ALPN protocols list for TLS connections 2021-04-19 18:39:56 +03:00
Evgeny Grin (Karlson2k) 523fa712fd connection: report error details for recv() as well 2021-04-19 16:23:22 +03:00
Evgeny Grin (Karlson2k) 0b22e20357 log messaged-related minor fixes 2021-04-19 16:23:22 +03:00
Evgeny Grin (Karlson2k) 69c600bd85 mhd_send: added TLS-specific error code 2021-04-19 16:23:21 +03:00
Evgeny Grin (Karlson2k) 65dac757a6 testzzuf/test_put_chunked: fixed callback 2021-04-19 13:46:07 +03:00
Evgeny Grin (Karlson2k) ff842eabd8 testzzuf: print wrong callback parameters values 2021-04-19 13:38:16 +03:00
Evgeny Grin (Karlson2k) e53b8c0b28 connection: report socket error in MHD log 2021-04-18 20:47:38 +03:00
Evgeny Grin (Karlson2k) c5b661b672 mhd_send: more detailed error results 2021-04-18 17:13:01 +03:00
Evgeny Grin (Karlson2k) 17934e4ebf MHD_create_response_from_iovec(): more portable behavior
Reject responses larger than SSIZE_MAX as they could be rejected
by sendmsg()
2021-04-18 14:18:01 +03:00
Evgeny Grin (Karlson2k) 61858b1e1a mhd_sockets: removed dead code 2021-04-18 13:47:37 +03:00
Evgeny Grin (Karlson2k) 2a0c96ff5b response: simplified code
Reused cork set functions from mhd_send.
2021-04-17 18:50:52 +03:00
Evgeny Grin (Karlson2k) c1b8333aa8 mhd_send: changed results for non-IP sockets
When some IP option is tried for non-IP socket report failure as option
cannot be applied.
2021-04-17 18:24:25 +03:00
Evgeny Grin (Karlson2k) b2b8492dee memorypool: muted compiler warning and additional assert 2021-04-17 18:03:40 +03:00
Evgeny Grin (Karlson2k) 898453fea4 mhd_send: fixed copy-paster error in 99f2df6dea
One more copy-paste error
2021-04-17 18:02:55 +03:00
Evgeny Grin (Karlson2k) 17e01403c6 mhd_send: made MHD_connection_set_cork_state_() non-static 2021-04-17 16:49:26 +03:00
Evgeny Grin (Karlson2k) e2d6e58257 test_upgrade_large: do not uncork the socket
Uncorking of the socket is not required as it wasn't corked.
Moreover, uncorking always flush network buffers with Linux
kernel, while on all other platforms behavior is different.
As test should function on all platforms in the same way,
we shouldn't use unportable features.
2021-04-17 16:45:45 +03:00
Evgeny Grin (Karlson2k) abb47a11ec mhd_send: fixed log messaged broken by 99f2df6dea 2021-04-17 16:45:44 +03:00
Evgeny Grin (Karlson2k) 99f2df6dea mhd_send: finally handle sockets errors in portable way 2021-04-16 17:58:14 +03:00
Evgeny Grin (Karlson2k) 9829eb3498 Formatting and minor fix for 61fa389644 2021-04-16 17:17:28 +03:00
Evgeny Grin (Karlson2k) 61fa389644 Fixes and improvements for 6c751386a2
Fixed build on platforms without epoll,
saved one sys-call for externally added connections.
2021-04-16 17:11:21 +03:00
Evgeny Grin (Karlson2k) ec591a7022 configure: corrected displayed licence 2021-04-16 14:20:47 +03:00
Evgeny Grin (Karlson2k) b6a3e50b78 mhd_send: use run-time value of IOV_MAX if available 2021-04-16 14:20:47 +03:00
Evgeny Grin (Karlson2k) a1371a29ec init refactoring: always call MHD_send_init_static_vars_() 2021-04-16 14:20:46 +03:00
Christian Grothoff 6c751386a2 fix #6768: do not use TCP-specific syscalls on UNIX domain sockets (merge) 2021-04-16 10:26:20 +02:00
Evgeny Grin (Karlson2k) fadba1133c fix #6768: do not use TCP-specific syscalls on UNIX domain sockets 2021-04-16 10:25:37 +02:00
Evgeny Grin (Karlson2k) c556a538a9 configure: fixed '--enable-sanitizer'
Due to typo, using '--enable-sanitizer' resulted in lost of LDFLAGS
2021-04-15 18:58:58 +03:00
Evgeny Grin (Karlson2k) ddf368bb6d mhd_send: do not push incomplete responses with vector send 2021-04-15 12:43:01 +03:00
Evgeny Grin (Karlson2k) 7762278bd1 mhd_send: use sendmsg() in POSIX-compatible way
Some OSes may have limit on number of maximum elements per single
call of sendmsg()/writev(). Do not try to send more elements than
allowed by OS.
2021-04-14 22:21:32 +03:00
Evgeny Grin (Karlson2k) 726b9c4731 test_upgrade_large: fixed data race 2021-04-14 19:44:40 +03:00
Evgeny Grin (Karlson2k) 9ce7aa953a Style and shadowing fixes 2021-04-13 20:42:49 +03:00
Evgeny Grin (Karlson2k) 2704ce9895 connection_https: disabled back TCP_NODELAY optimisation 2021-04-11 15:51:28 +03:00
Evgeny Grin (Karlson2k) 7d5e06ed5f Updated test certificates
Updated TLS test certificates with modern algorithms and correct
alternative names, which is closer to real live scenarios.
Examples programs work with browsers again.
2021-04-11 12:38:48 +03:00