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
Christian Grothoff
0c85bd35d4
fix typos
2020-07-23 00:02:57 +02:00
Christian Grothoff
fbec7f3f08
another issue found by test from MD
2020-07-11 23:11:53 +02:00
Christian Grothoff
3e50200ee3
fixing pp regression
2020-07-11 19:40:12 +02:00
Christian Grothoff
1899a24a9f
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
2020-07-11 19:12:40 +02:00
Christian Grothoff
774c461f8a
extending test (MD)
2020-07-11 19:12:35 +02:00
Christian Grothoff
cb1fabe878
version bump
2020-07-10 15:08:23 +02:00
Christian Grothoff
9b39de8d9e
fix postprocessor parser issue discovered by MD
2020-07-10 15:06:46 +02:00
Christian Grothoff
8c77370410
add MD test for %2 decoding problem in PP
2020-07-09 21:28:40 +02:00
Christian Grothoff
860b42e918
fix return value of MHD_queue_basic_auth_fail_response
2020-07-02 21:56:55 +02:00
Christian Grothoff
a110ae6276
fix buffer overflow and add test
2020-06-28 21:55:56 +02:00
Christian Grothoff
0d771f770e
handle gnutls_record_uncork() failure, might help issue PC reported on the list
2020-06-16 20:46:32 +02:00
Christian Grothoff
11ed3de399
send param adapter is dead
2020-06-16 20:40:02 +02:00
Christian Grothoff
2abe788d8a
fix manual entry for MHD_lookup_connection_value
2020-06-10 21:58:53 +02:00
Christian Grothoff
d7709c5580
add file to ignore
2020-06-10 21:46:09 +02:00
Christian Grothoff
34aa038d97
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
2020-06-10 21:45:34 +02:00
Christian Grothoff
a019057377
fix PP bug discovered by MD
2020-06-10 21:45:23 +02:00
Christian Grothoff
79748e574e
add additional PP test from MD
2020-06-10 21:44:12 +02:00
Christian Grothoff
ddc770d8f6
fix example
2020-04-29 16:52:27 +02:00
Christian Grothoff
b53132950d
dox fix
2020-04-29 16:44:35 +02:00
Christian Grothoff
36fa35cf04
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
2020-04-29 16:42:00 +02:00
Christian Grothoff
660e7967fa
fix warnings
2020-04-29 16:41:55 +02:00
Christian Grothoff
912181afd3
fix more warnings
2020-04-11 11:28:36 +02:00
Christian Grothoff
aad7796a51
define and use 'enum MHD_Result' (merge)
2020-04-08 23:42:52 +02:00
Christian Grothoff
89d2ef9732
define and use 'enum MHD_Result' (merge)
2020-04-08 23:38:07 +02:00
Christian Grothoff
de872dea2d
define and use 'enum MHD_Result'
2020-04-08 23:36:41 +02:00
Christian Grothoff
6347f514aa
introduce 'enum MHD_Result'
2020-04-08 22:59:05 +02:00
Christian Grothoff
6702e62023
fix #6135
2020-03-26 19:08:30 +01:00
Christian Grothoff
2e8a4f8b9a
mark build as non-parallel due to port conflicts ( #6117 )
2020-03-14 16:06:13 +01:00
Christian Grothoff
7078145599
proposed fix for #6116
2020-03-10 21:11:06 +01:00
Christian Grothoff
eeb9c46884
declare victory on #6090 , bump header version
2020-03-07 17:21:17 +01:00
Christian Grothoff
9b935deff6
documented to return zero on failure, not vice versa
2020-03-07 17:18:44 +01:00
Christian Grothoff
9ebe27e18d
check for socket validity
2020-03-07 17:09:22 +01:00
Christian Grothoff
9f4422e0ca
fix bad FTBFS
2020-03-07 17:05:42 +01:00