Evgeny Grin (Karlson2k)
7bbbcd63f9
SIGPIPE macros minor refactoring
2021-02-24 19:46:30 +03:00
Christian Grothoff
bb2e08b619
bump MHD_VERSION
2021-02-04 18:44:08 +01:00
Christian Grothoff
5782daed8f
ensure ikvi callback returning MHD_NO terminates iteration
2021-02-04 18:42:22 +01:00
Christian Grothoff
2968329166
fix #6693 : get src/lib/ to build with clang
2021-01-30 12:52:11 +01:00
Evgeny Grin (Karlson2k)
b5bf6ccf78
configure: added '--enable-heavy-tests'
...
Some tests may fail because of too intensive usage of OS resources.
Skip by default resources-heavy tests so testsute can be run on
a machine with some parallel activity.
2021-01-24 21:30:10 +03:00
Evgeny Grin (Karlson2k)
8f66b6e036
testcurl/Makefile.am: minor fixes
2021-01-24 21:26:09 +03:00
Evgeny Grin
d39cf18d8c
Fixed file permissions in repo
2021-01-18 23:24:03 +03:00
Evgeny Grin (Karlson2k)
7315af58ff
microhttpd.h: clarified that MHD_VERSION is in BCD form
2021-01-17 20:56:31 +03:00
Evgeny Grin (Karlson2k)
409fb0e18c
connection.c: push response headers for upgrade responses
2021-01-17 20:26:02 +03:00
Christian Grothoff
b169124017
return timeout of 0 if cleanup is pending
2021-01-06 20:42:59 +01:00
Evgeny Grin (Karlson2k)
df6124f7a8
connection_https: clarify comment as suggested by CG
2020-12-29 17:08:29 +03:00
Evgeny Grin (Karlson2k)
e8258c92e6
Speed-up TLS handshake
2020-12-29 15:39:21 +03:00
Evgeny Grin (Karlson2k)
7ca70975ab
Added MHD_connection_set_nodelay_state_ to header
...
Made MHD_connection_set_nodelay_state_() non-static.
2020-12-29 15:38:50 +03:00
Evgeny Grin (Karlson2k)
6000f154e7
Bump MHD_VERSION to indicate dev version
2020-12-29 13:03:31 +03:00
Evgeny Grin (Karlson2k)
f7c5c302a3
Released GNU libmicrohttpd 0.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)
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)
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)
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)
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)
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)
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)
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