Christian Grothoff
0db39f453a
remove pre-1.0 comment
2025-08-31 20:43:26 +02:00
Christian Grothoff
e9aa6dcdc1
fix rvalues ( #9667 )
2025-08-16 15:48:06 +02:00
Christian Grothoff
f2e3bbda41
-bump header version
2025-07-14 17:09:42 +02:00
Christian Grothoff
ebe728629c
fix double-close() bug reported by MC on the mailinglist
2025-07-14 17:06:25 +02:00
Christian Grothoff
6fe3a41cae
-whitespace and indentation changes only
2024-02-18 15:16:54 +01:00
Christian Grothoff
2f892f4c6b
small typo likely from copy&paste causing macro names to be different
...
between builds with and without messages resulting in compilation
failure if configured with --disable-messages
Signed-off-by: Jan Palus <jpalus@fastmail.com >
2024-02-04 18:29:15 +01:00
Christian Grothoff
0b5ccc723a
-remove trailing whitespace, update PO file, no semantic change(s)
2024-02-01 10:17:19 +01:00
Christian Grothoff
32aa4d0d99
fix #8012
2024-01-21 12:29:38 +01:00
Christian Grothoff
45aa83f172
fix memory leak on error path
2024-01-21 11:44:15 +01:00
Christian Grothoff
0e4d6c2f93
clean up logic, simplify one dead branch in test
2024-01-21 10:45:19 +01:00
Christian Grothoff
52a5e46584
use correct HTTP header (content type, not content encoding) for mime type in example; do check return value in example
2024-01-21 10:33:44 +01:00
Christian Grothoff
9131da3340
regenerate POTfiles
2024-01-21 10:18:35 +01:00
Christian Grothoff
0d85d57380
add missing lock, do not call 'close(-1)' on very rare error path
2024-01-21 10:18:21 +01:00
Christian Grothoff
639435c215
notes on MHD2 API
2024-01-19 20:13:23 +01:00
Christian Grothoff
9c032ccca7
Revert "-add support for ICECAST-style uploads"
...
This reverts commit 19e1ed8355 .
2023-09-26 11:58:44 +02:00
Christian Grothoff
4a031e5482
-fix theoretical use-after-free in test on error path
2023-09-25 21:52:48 +02:00
Christian Grothoff
64d90a1a85
-tighten test further
2023-09-25 21:49:57 +02:00
Christian Grothoff
5083df300e
fix check order
2023-09-25 21:41:10 +02:00
Christian Grothoff
0ae494028b
check rvalues from MHD_post_process in examples
2023-09-25 21:38:23 +02:00
Christian Grothoff
138ee33a41
check rvalues from MHD_add_response_header in examples
2023-09-25 21:31:59 +02:00
Christian Grothoff
9327a8cc46
check rvalues from MHD_add_response_header in examples
2023-09-25 21:30:03 +02:00
Christian Grothoff
2212a37256
check rvalues from pthread_mutex_ operations in examples
2023-09-25 21:26:31 +02:00
Christian Grothoff
e42c783bb8
-very theoretically, 0 would be OK, too
2023-09-25 21:13:17 +02:00
Christian Grothoff
19e1ed8355
-add support for ICECAST-style uploads
2023-09-25 20:32:53 +02:00
Christian Grothoff
d011008332
-typos
2023-07-10 19:47:02 +02:00
Christian Grothoff
dc1973a702
-typos
2023-06-03 12:58:55 +02:00
Christian Grothoff
84f3cde452
-typo
2023-05-13 22:04:56 +02:00
Christian Grothoff
eeb4166266
-fix bogus assert, use proper libgcrypt type
2023-04-17 10:55:22 +02:00
Christian Grothoff
46357a33c1
-fix typos
2023-04-10 23:32:49 +02:00
Christian Grothoff
e8118a6fca
-typo
2023-02-27 16:54:17 +01:00
Christian Grothoff
6d6846e20b
fix parser bug that could be used to crash servers using the MHD_PostProcessor
2023-02-26 17:51:39 +01:00
Christian Grothoff
08f933a6ad
epoll: immediately notice when other side closes the socket, instead of waiting for timeout ( fixes #7192 )
2023-02-08 15:26:19 +01:00
Christian Grothoff
4627d005d2
add assertion to guard against bad behavior described in #7196 , also document that after suspending one must return MHD_YES
2023-02-08 14:28:49 +01:00
Christian Grothoff
b85d48cd95
-support mime-types by file extension in demo.c
2022-10-28 15:20:38 +02:00
Christian Grothoff
bb33e458ef
-typo
2022-07-31 21:59:09 +02:00
Christian Grothoff
5c3cdf717b
-fix typos
2022-07-30 23:40:22 +02:00
Christian Grothoff
9eb7b4de64
-fix typos
2022-07-28 22:05:12 +02:00
Christian Grothoff
bd88a19e2d
-typo
2022-07-20 21:04:25 +02:00
Christian Grothoff
d629ada1a2
-fix typos
2022-06-26 15:24:24 +02:00
Christian Grothoff
4195c246bb
-more minor fixes
2022-06-07 18:01:13 +02:00
Christian Grothoff
b627fdaf25
-fix read-only off-by one in 'if ( (0 != memcmp (nn->nonce, nonce, noncelen)) ||
...
772 (0 != nn->nonce[noncelen]) )' by making buffer one element larger
2022-06-07 17:57:26 +02:00
Christian Grothoff
711099c7ea
unsure why this was left as a TODO, fix seems trivial (EG: please check)
2022-06-07 17:41:54 +02:00
Christian Grothoff
82abaee62f
-minor cleanups
2022-06-07 17:40:28 +02:00
Christian Grothoff
4720ace1a7
-fix memory leaks in tests
2022-06-07 17:29:24 +02:00
Christian Grothoff
a940c3ba58
-fix warning
2022-06-06 20:41:10 +02:00
Christian Grothoff
06819f2e89
-indentation fix
2022-04-04 07:47:32 +02:00
Christian Grothoff
899e26205a
fix capitalization of SHA-256 / MD5 as per RFC 7616 as reported on the mailinglist by Ahmet Kermen
2022-01-17 10:51:08 +01:00
Christian Grothoff
dbe1d76d9c
-fix tests for libmagic (and uncrustify indentation)
2021-12-08 14:11:31 +01:00
Christian Grothoff
bd3325c924
-fix typo
2021-09-16 17:53:25 +02:00
Christian Grothoff
fdfd5dc80f
tbrehm@dspace.de wrote:
...
Hi,
gcc10 complains with two warnings when compiling libmicrohttpd using
#define NDEBUG 1
#define DAUTH_SUPPORT 1
so, "release build" with enabled "digest authentication":
../digestauth.c: In function 'MHD_digest_auth_check_digest2':
../digestauth.c:1287:9: warning: 'da.digest_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
1287 | if (da.digest_size != digest_size)
| ~~^~~~~~~~~~~~
../digestauth.c: In function 'MHD_queue_auth_fail_response2':
../digestauth.c:1361:55: warning: 'da.digest_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
1361 | char nonce[NONCE_STD_LEN (VLA_ARRAY_LEN_DIGEST (da.digest_size)) + 1];
|
This is a minor issue, without any practical effect, unless when calling the MHD API with an invalid value for the MHD_DigestAuthAlgorithm enum.
However, gcc is still right that there is a potential code path with undefined behaviour: the default-case in the switch statement in SETUP_DA does not set "da.digest_size".
Two functions later still always read this value. And the "mhd_assert" has no effect, since it's disabled when NDEBUG is set.
Trivial patch attached to silence the compiler warnings by also initializing "da.digest_size" in the default case of the switch statement:
2021-09-03 13:31:05 +02:00
Christian Grothoff
0920a1f908
-fix typo
2021-09-01 18:23:40 +02:00
Christian Grothoff
79868fab86
-typo
2021-08-24 15:17:01 +02:00
Christian Grothoff
067628c6f7
-fix typo
2021-08-21 14:11:02 +02:00
Christian Grothoff
ebd43f0373
-bump version
2021-08-18 11:10:42 +02:00
Christian Grothoff
d929a44741
-typo
2021-08-04 19:07:27 +02:00
Christian Grothoff
f1f8851cd2
introduce new MHD_CONNECTION_INFO_HTTP_STATUS
2021-08-04 18:58:55 +02:00
Christian Grothoff
ecf9dbb690
-fix typo
2021-07-18 13:52:12 +02:00
Christian Grothoff
41a3f2398a
-make spell checker happy
2021-07-14 14:37:16 +02:00
Christian Grothoff
3569c42c4c
-more work for JE Marchesi
2021-05-02 12:34:05 +02:00
Christian Grothoff
5a5e402b11
fix typos
2021-04-27 23:31:58 +02:00
Christian Grothoff
8ee4e54f4f
fix typos
2021-04-27 23:23:00 +02:00
Christian Grothoff
67c79a9cd1
fix typos
2021-04-27 23:22:31 +02:00
Christian Grothoff
26b082a6b4
-fix typo
2021-04-26 17:14:46 +02:00
Christian Grothoff
450b868804
add David's WS example
2021-04-26 14:33:55 +02:00
Christian Grothoff
c488cadbc1
verbatim import of David Gausmann's websocket extension; tests do not yet pass, only enabled with --enable-experimental
2021-04-26 14:12:23 +02:00
Christian Grothoff
7241cb611a
-fix typos
2021-04-24 00:05:37 +02: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
Christian Grothoff
55e6a9e275
fix typo
2021-03-09 23:36:39 +01:00
Christian Grothoff
f9aa18c17e
fix example
2021-03-04 13:32:39 +01:00
Christian Grothoff
b5c7519d9a
improve example on client cert validation, as suggested by Folkert van Heusden
2021-03-02 15:40:49 +01:00
Christian Grothoff
8093de995c
remove unnecessary grouping/paren/nesting
2021-02-27 21:19:37 +01:00
Christian Grothoff
39813f4f28
fix leak
2021-02-27 21:04:09 +01:00
Christian Grothoff
6b3d0c27b7
simplify
2021-02-27 20:57:33 +01:00
Christian Grothoff
b55c4031d4
-misc style fixes, no semantic changes
2021-02-26 21:23:11 +01: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
e066938628
expand tutorial on connection phases, thanks to Igor for pointing out that the text was incomplete
2021-02-02 18:40:10 +01:00
Christian Grothoff
0394bc7213
document cross-compile to Android, fixes #4913
2021-01-30 12:59:04 +01:00
Christian Grothoff
2968329166
fix #6693 : get src/lib/ to build with clang
2021-01-30 12:52:11 +01:00
Christian Grothoff
b169124017
return timeout of 0 if cleanup is pending
2021-01-06 20:42:59 +01:00
Christian Grothoff
ad8a3e3fde
cosmetics
2020-11-08 18:21:20 +01:00
Christian Grothoff
b39aacb24a
typo
2020-10-26 11:04:29 +01:00
Christian Grothoff
dd9aadce4c
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
2020-10-22 11:48:57 +02:00
Christian Grothoff
c43779a4be
fix typos
2020-10-22 11:48:54 +02:00
Christian Grothoff
4b18c05142
bump version
2020-10-21 10:05:41 +02:00
Christian Grothoff
eb82d9a7c3
-undo bad indentation patch, updated uncrustify now
2020-10-21 10:04:35 +02:00
Christian Grothoff
567aa11a97
Fix #6610 as suggested by AP
2020-10-21 10:01:52 +02:00
Christian Grothoff
123b86d1e4
correct interpretation of revalue of MHD_socket_cork_
2020-09-27 22:36:17 +02:00
Christian Grothoff
beb7fa828c
fix transmission stall issue with upgraded TLS connections reported by Nguyen Xuan Viet on the mailinglist
2020-09-27 22:12:13 +02:00
Christian Grothoff
1d9f940dca
fix thread-start issue discovered by Damon Earp
2020-09-26 20:23:21 +02:00
Christian Grothoff
668d3891cc
-bump version
2020-09-11 22:25:47 +02:00
Christian Grothoff
495bf107ca
-update ChangeLog
2020-09-11 22:25:30 +02:00
Christian Grothoff
ed6afa825e
fix #6594 : better test for gnutls_record_uncork
2020-09-11 22:23:52 +02:00
Christian Grothoff
16c133294a
fix crash problem found by MD
2020-09-11 22:09:08 +02:00
Christian Grothoff
c7fce1416c
indentation fix
2020-08-19 09:52:07 +02:00
Christian Grothoff
773d6cce73
add logic to check return value of MHD_pool_reallocate()
2020-08-19 09:41:31 +02:00
Christian Grothoff
bade8d9c4b
bump version
2020-07-26 14:16:17 +02:00
Christian Grothoff
c575f67285
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
2020-07-26 14:15:55 +02:00
Christian Grothoff
1c4f23db74
add ability to serve files from pipe
2020-07-26 14:15:50 +02:00
Christian Grothoff
babda9e9c7
fix misc typos
2020-07-23 00:05:52 +02:00