Evgeny Grin (Karlson2k)
499ff1087c
tsearch.{h,c}: updated to the latest fixed version
...
Minor modification added to avoid compiler warnings
2023-03-31 18:50:31 +02:00
Evgeny Grin (Karlson2k)
db438d8e7c
mhd_find_lib.m4: fixed compatibility with old autoconf
2023-03-31 18:50:31 +02:00
Evgeny Grin (Karlson2k)
8620e701f0
mhd_find_lib.m4: added new autoconf macro
2023-03-31 18:50:30 +02:00
Evgeny Grin (Karlson2k)
bec6b711a5
mhd_check_func.m4: added check for function declaration
2023-03-31 18:50:30 +02:00
Evgeny Grin (Karlson2k)
15fcfe7ff5
mhd_check_func.m4: updated
...
Fixed possible compiler warning with strictest compiler settings
2023-03-31 18:50:30 +02:00
Evgeny Grin (Karlson2k)
841e9832a3
mhd_check_func.m4: fixed macro
...
Previously macro failed with comma-delimited and quoted parameters
2023-03-31 18:50:29 +02:00
Evgeny Grin (Karlson2k)
588872f121
mhd_check_func.m4: fixed overquoting
2023-03-31 18:50:29 +02:00
Evgeny Grin (Karlson2k)
b5e615396b
mhd_check_func.m4: fixed English grammar
2023-03-31 18:50:29 +02:00
Evgeny Grin (Karlson2k)
ed91bac481
mhd_norm_expd.m4: added autoconf helper macro
2023-03-31 18:50:28 +02:00
Evgeny Grin (Karlson2k)
86d8267347
MHD_get_version_bin(): added new function
2023-03-31 18:50:28 +02:00
Christian Grothoff
4dee893016
add assertion to guard against bad behavior described in #7196 , also document that after suspending one must return MHD_YES
2023-03-31 18:50:28 +02:00
Christian Grothoff
a8d0893dee
-typo
2023-03-31 18:50:27 +02:00
Evgeny Grin (Karlson2k)
91e9e007a6
configure: try to detect whether eventfd is enabled
...
eventfd is optional kernel feature, MHD can work just fine without
eventfd enabled.
2023-03-31 18:50:27 +02:00
Evgeny Grin (Karlson2k)
e6f63b1c7e
configure: used better detection of some functions when cross-compiling
2023-03-31 18:50:27 +02:00
Evgeny Grin (Karlson2k)
12be5b6eb7
Added new M4 helper macro
2023-03-31 18:50:26 +02:00
Evgeny Grin (Karlson2k)
6678ab663a
test_get_iovec: fixed missing include headers
2023-03-31 18:50:26 +02:00
Evgeny Grin (Karlson2k)
008930af12
test_upgrade{,_large}: fixed HTTP/1.1 compatibility
2023-03-31 18:50:25 +02:00
Evgeny Grin (Karlson2k)
d1045cc1d1
testcurl: fixed checking response headers as null-terminated string
2023-03-31 18:50:25 +02:00
Evgeny Grin (Karlson2k)
d15adc7f82
testzzuf: fixed missing CPPFLAGS from configure
2023-03-31 18:50:25 +02:00
Evgeny Grin (Karlson2k)
d05e6b9e1a
mhd_assert: use "DEBUG" macro defined by some toolchains
2023-03-31 18:50:24 +02:00
Evgeny Grin (Karlson2k)
73577a264d
daemon: fixed delayed notification callback in thread-per-connection mode
2023-03-31 18:50:24 +02:00
Evgeny Grin (Karlson2k)
f266586c4e
mhd_str: fixed compiler warning for compact code
2023-03-31 18:50:24 +02:00
Evgeny Grin (Karlson2k)
7b1524f3df
configure: fixed typos in messages
2023-03-31 18:50:23 +02:00
Evgeny Grin (Karlson2k)
2a1ff2f9a2
connection: skip no-op calling of body generation functions when response body is not used
2023-03-31 18:50:23 +02:00
Evgeny Grin (Karlson2k)
f0db540cdb
configure: fixed underquoting, typos, wording
2023-03-31 18:50:23 +02:00
Alexander Irion
00085491b9
Remove double adding of MHD_HTTP_HEADER_CONNECTION response header
...
MHD_create_response_for_upgrade() already adds the MHD_HTTP_HEADER_CONNECTION response header, so
the additional MHD_add_response_header is wrong.
In our application it caused, that on a Apple iPad, the websocket was immediately closed by the
browser(Safari, Chrome, Opera) after the protocol upgrade. Browsers on Linux, Android did not had this issue.
Signed-off-by: Alexander Irion <alexander_irion@mentor.com >
2023-03-31 18:50:22 +02:00
Evgeny Grin (Karlson2k)
95d163cc84
websocket_threaded_example: minor fixes
2023-03-31 18:50:22 +02:00
Evgeny Grin (Karlson2k)
b4bab00c4e
test_http_reasons: fixed compiler warnings
2023-03-31 18:50:22 +02:00
Evgeny Grin (Karlson2k)
a59760c5db
Fixed very rare data races when closing upgraded connection
2023-03-31 18:50:21 +02:00
Evgeny Grin (Karlson2k)
f5bb3f5cf4
Fixed 'int' instead of 'MHD_Result'
2023-03-31 18:50:21 +02:00
Evgeny Grin (Karlson2k)
c21c5769af
daemon.c: fixed possible uninitialized value
2023-03-31 18:50:21 +02:00
Evgeny Grin (Karlson2k)
a123f5d59c
Fixed wrong variable type used for result of gnutls_priority_init()
2023-03-31 18:50:20 +02:00
Kolja Nowak
e451f079d2
I'm trying to use libmicrohttpd on a platform where fcntl(fd, O_NONBLOCK)
...
doesn't work for sockets. This shouldn't be a problem, as far as I understand,
except in epoll mode, which I'm not using, because epoll() isn't available either.
However, there is a check in daemon.c:internal_add_connection(),
the purpose of which seems to be to prevent using a blocking socket
in epoll mode. At least that's what the debug message says. The code
however does the opposite, it prevents the use of a blocking socket
if epoll mode is *not* used. This was probably never noticed because
platforms without non-blocking sockets are rare.
Please consider applying the following simple fix:
2023-03-31 18:50:20 +02:00
Evgeny Grin (Karlson2k)
e73d718963
internal.h: fixed incorrect use of enum value as preprocessor value
2023-03-31 18:50:20 +02:00
Evgeny Grin (Karlson2k)
42efdc09c4
Fixed return type for get_system_fdsetsize_value ()
2023-03-31 18:50:19 +02:00
Evgeny Grin (Karlson2k)
2571d0df26
thread-per-connection: do not cache connection timeout
...
The timeout value could be updated by application
2023-03-31 18:50:19 +02:00
Evgeny Grin (Karlson2k)
e53ff788f7
Response from callback: do allow negative return amounts, except predefined values
2023-03-31 18:50:18 +02:00
Evgeny Grin (Karlson2k)
1db2ded673
src/examples: fixed printf format specifiers
2023-03-31 18:50:18 +02:00
Evgeny Grin (Karlson2k)
f795558de3
test_https_sni: use CA certificate
...
Still disabled in the test itself, but it should not hurt to give
the proper CA if it is available.
2023-03-31 18:50:18 +02:00
Evgeny Grin (Karlson2k)
f941637d85
Updated test TLS certificate in test and examples
...
The new certificate should be a bit more similar to production certs.
2023-03-31 18:50:17 +02:00
Evgeny Grin (Karlson2k)
ebcfcba9a0
Makefile: fixed *.crt files names for dist target
2023-03-31 18:50:17 +02:00
Evgeny Grin (Karlson2k)
41d7b18d05
test_https_sni: use certificates with SAN fields
...
While host in CommonName (CN) is still should be supported, it is
recommended to use SubjectAltName to identify the host.
This also workarounds the bug in libcurl 7.82.0 with certificates
processing.
2023-03-01 17:27:38 +03:00
Evgeny Grin (Karlson2k)
f0a68628e9
MHD_get_version(): fixed signed value bit shift
2023-03-01 17:27:38 +03:00
Evgeny Grin (Karlson2k)
826070dbce
Disallowed MHD_SIZE_UNKNOWN for buffer-based responses
2023-03-01 17:27:38 +03:00
Evgeny Grin (Karlson2k)
d7bcb55994
memorypool: fixed: unpoison memory for ASAN before destroying pool
2023-03-01 17:27:37 +03:00
Christian Grothoff
3c83e86e30
fix capitalization of SHA-256 / MD5 as per RFC 7616 as reported on the mailinglist by Ahmet Kermen
2023-03-01 17:27:37 +03:00
Evgeny Grin (Karlson2k)
4bb2eac006
test_upgrade{,_large}: fixed use of uninitialized value
2023-03-01 17:27:37 +03:00
Evgeny Grin (Karlson2k)
0da40e2a2c
Fixed compiler warning in examples
2023-03-01 17:27:36 +03:00
Evgeny Grin (Karlson2k)
94c4ff39f8
automake: use right automake options
2023-03-01 17:27:36 +03:00
Evgeny Grin (Karlson2k)
66f0318f39
configure: fixed unwanted output on Fedora
2023-03-01 17:27:36 +03:00