[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 222/335: this_API_is_TERRIBLE: even more
From: |
gnunet |
Subject: |
[libmicrohttpd] 222/335: this_API_is_TERRIBLE: even more |
Date: |
Sat, 27 Jul 2024 22:01:58 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.
commit e0206d1972c64ab6761fa66d69a099909a034e35
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri Jun 21 17:29:41 2024 +0200
this_API_is_TERRIBLE: even more
---
src/include/this_API_is_TERRIBLE.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/include/this_API_is_TERRIBLE.txt
b/src/include/this_API_is_TERRIBLE.txt
index 6fc52db4..da68df36 100644
--- a/src/include/this_API_is_TERRIBLE.txt
+++ b/src/include/this_API_is_TERRIBLE.txt
@@ -34,6 +34,12 @@
-- Having both MHD_D_O_XXX and (two times of each) MHD_D_OPTION_XXX is
confusion and not obvious. Even you was confused with similar names and
used MHD_D_OPTION_XXX as switch values, while it must be MHD_D_O_XXX.
+-- Try to work with simple things: find how to set "epoll" syscall; find how
+ to enable internal thread pool. The header is written in the way that
+ is very inconvenient to find needed options and the way how to set them.
+-- The API should be self-documenting. This is main goal defined everywhere.
+ This API is **NOT** self-documenting. Three levels of macros for basic
+ things, like "work mode" is not acceptable!
- This design is less secure by nature. The sizes of arrays or memory
allocations cannot be checked by compilers (like
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 193/335: GENERATED: add missed options, (continued)
- [libmicrohttpd] 193/335: GENERATED: add missed options, gnunet, 2024/07/27
- [libmicrohttpd] 191/335: GENERATED: fixed options addressing, gnunet, 2024/07/27
- [libmicrohttpd] 211/335: configure: check for AF_UNIX headers, gnunet, 2024/07/27
- [libmicrohttpd] 200/335: configure: rewritten checks for inline and force inline keywords, gnunet, 2024/07/27
- [libmicrohttpd] 199/335: configure: added separate controls for MHD log and HTTP auto replies, gnunet, 2024/07/27
- [libmicrohttpd] 213/335: configure: check for socklen_t and substitute with a replacement if not available, gnunet, 2024/07/27
- [libmicrohttpd] 194/335: GENERATED: fixed macro names instead of enum values, gnunet, 2024/07/27
- [libmicrohttpd] 206/335: configure: renamed _MHD_NORETURN -> MHD_NORETURN_, gnunet, 2024/07/27
- [libmicrohttpd] 219/335: configure: improved testing for supported function attributes, gnunet, 2024/07/27
- [libmicrohttpd] 218/335: configure: added checks for sokets-related symbols declarations, gnunet, 2024/07/27
- [libmicrohttpd] 222/335: this_API_is_TERRIBLE: even more,
gnunet <=
- [libmicrohttpd] 189/335: GENERATED: use correct function attributes, gnunet, 2024/07/27
- [libmicrohttpd] 205/335: configure: supported C23 'noreturn' keyword, gnunet, 2024/07/27
- [libmicrohttpd] 215/335: configure: added support for 'restrict', gnunet, 2024/07/27
- [libmicrohttpd] 226/335: -fix typo, gnunet, 2024/07/27
- [libmicrohttpd] 223/335: Initial draft M2 (WIP), gnunet, 2024/07/27
- [libmicrohttpd] 216/335: configure: added tests for 'unreachable' supported keywords, gnunet, 2024/07/27
- [libmicrohttpd] 217/335: configure: added checks for socketpair(), gnunet, 2024/07/27
- [libmicrohttpd] 209/335: this_API_is_TERRIBLE.txt: updated, gnunet, 2024/07/27
- [libmicrohttpd] 230/335: w32_lib_res.rc.in: fixed, gnunet, 2024/07/27
- [libmicrohttpd] 229/335: Partial revert of 7237eb207b6dd215c5b726ed4b2a1e337cc4dbcc, gnunet, 2024/07/27