Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Updated copyright years | Evgeny Grin (Karlson2k) | 2024-01-31 |
| | |||
* | mhd_sockets: fixed error code for W32 | Evgeny Grin (Karlson2k) | 2023-11-24 |
| | | | | The code was used only in tests and was not relevant for W32. | ||
* | Added new function MHD_run_from_select2() with FD_SETSIZE value | Evgeny Grin (Karlson2k) | 2023-11-08 |
| | | | | | | | | | Added wrapper macro MHD_run_from_select() to automatically use current FD_SETSIZE value. This should complete the support for flexible FD_SETSIZE (which is used on most platforms with GNU/Linux as notable exception). This also fixes potential fd_set overrun when sockets with too large numbers are used. | ||
* | mhd_sockets.h: cosmetics | Evgeny Grin (Karlson2k) | 2023-11-07 |
| | |||
* | mhd_sockets.h: directly used detected system FD_SETSIZE | Evgeny Grin (Karlson2k) | 2023-11-07 |
| | |||
* | Use '#ifdef PARAM' instead of '#if PARAM' for configuration options | Evgeny Grin (Karlson2k) | 2022-05-16 |
| | |||
* | Fixed some compiler warnings on W32 | Evgeny Grin (Karlson2k) | 2022-05-14 |
| | |||
* | Fixed many macros | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | | | | 'defined()' should be used without space before bracket | ||
* | Added support for GNU/kFreeBSD in sockets functions | Evgeny Grin (Karlson2k) | 2022-01-10 |
| | |||
* | mhd_sockets: minor macro correction | Evgeny Grin (Karlson2k) | 2021-12-17 |
| | |||
* | mhd_sockets: reordered includes for better compatibility | Evgeny Grin (Karlson2k) | 2021-12-01 |
| | |||
* | Added missing ifdef guard for <stdbool.h> | Evgeny Grin (Karlson2k) | 2021-12-01 |
| | |||
* | Fixed MHD_FEATURE_AUTOSUPPRESS_SIGPIPE return value | Evgeny Grin (Karlson2k) | 2021-11-28 |
| | |||
* | mhd_sockets: cosmetics | Evgeny Grin (Karlson2k) | 2021-11-06 |
| | |||
* | mhd_sockets: added more network error codes | Evgeny Grin (Karlson2k) | 2021-11-06 |
| | |||
* | mhd_sockets: code style fixes | Evgeny Grin (Karlson2k) | 2021-11-06 |
| | |||
* | Guard stddef.h includes with '#ifdef HAVE_STDDEF_H' | Evgeny Grin (Karlson2k) | 2021-09-01 |
| | |||
* | Inherit non-blocking status when accepting on most platforms | Evgeny Grin (Karlson2k) | 2021-08-24 |
| | | | | | | When accept() is used, socket non-blocking flag is inherited from listen socket almost on all platforms (except Linux kernel). Actually modern platforms use accept4() so this change is mostly for W32. | ||
* | mhd_send: more detailed error results | Evgeny Grin (Karlson2k) | 2021-04-18 |
| | |||
* | mhd_sockets: removed dead code | Evgeny Grin (Karlson2k) | 2021-04-18 |
| | |||
* | mhd_send: finally handle sockets errors in portable way | Evgeny Grin (Karlson2k) | 2021-04-16 |
| | |||
* | SIGPIPE macros minor refactoring | Evgeny Grin (Karlson2k) | 2021-02-24 |
| | |||
* | Fixed file permissions in repo | Evgeny Grin | 2021-01-18 |
| | |||
* | Refined TCP_NOPUSH handling on OpenBSD | Evgeny Grin (Karlson2k) | 2020-12-22 |
| | |||
* | Fixed: avoided SIGPIPE if possiible | Evgeny Grin (Karlson2k) | 2020-12-21 |
| | | | | | | | 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. | ||
* | mhd_sockets: added helper macros | Evgeny Grin (Karlson2k) | 2020-12-05 |
| | | | | New macros identify OS network behavior | ||
* | mhd_send.c: use wrapper macro for send() | Evgeny Grin (Karlson2k) | 2020-12-04 |
| | |||
* | mhd_send: use MSG_MORE only if it functions | Evgeny Grin (Karlson2k) | 2020-11-29 |
| | |||
* | mhd_sockets: renamed macros for clarity | Evgeny Grin (Karlson2k) | 2020-11-29 |
| | |||
* | clean up #define mess a bit | Christian Grothoff | 2020-02-14 |
| | |||
* | tighten formatting rules | Christian Grothoff | 2019-10-31 |
| | |||
* | applying uncrustify to ensure uniform indentation | Christian Grothoff | 2019-10-17 |
| | |||
* | always set nodelay, except if we cannot cork | Christian Grothoff | 2019-08-01 |
| | |||
* | mhd_sockets.h: minor micros fixes | Evgeny Grin (Karlson2k) | 2019-06-10 |
| | |||
* | Added support for SOCK_NOSIGPIPE from Solaris 11.4 and NetBSD 7+ | Evgeny Grin (Karlson2k) | 2019-06-02 |
| | |||
* | Track socket CORK/NODELAY states to avoid extra syscalls | Evgeny Grin (Karlson2k) | 2018-12-10 |
| | |||
* | fixing misc build issues, mostly in the new src/lib/ | Christian Grothoff | 2018-02-14 |
| | |||
* | more work on mhd2 API implementation | Christian Grothoff | 2018-02-07 |
| | |||
* | Improved compatibility with Cygwin | Evgeny Grin (Karlson2k) | 2017-11-26 |
| | |||
* | mhd_sockets.h: Fixed compiler warnings | Evgeny Grin (Karlson2k) | 2017-03-14 |
| | |||
* | Corrected monitor 'upgraded' sockets for errors, corrected handling of error and | Evgeny Grin (Karlson2k) | 2017-03-13 |
| | | | | | streamlined forwarding processing logic. Added some comments. | ||
* | Changed poll()/select()/epoll monitoring logic: | Evgeny Grin (Karlson2k) | 2017-02-19 |
| | | | | | | | connections monitored for incoming data only when expecting any incoming data; connections always monitored for disconnection and out-of-band data; connections are closed faster in case of any error conditions; fixed non-zero timeout in poll() mode with MHD_EVENT_LOOP_INFO_BLOCK connections. | ||
* | mhd_sockets.h: added MHD_socket_nosignal_() macro for Darwin and *BSD | Evgeny Grin (Karlson2k) | 2016-10-24 |
| | |||
* | mhd_sockets.h: Simplified macros | Evgeny Grin (Karlson2k) | 2016-10-22 |
| | |||
* | Simplify portability by using MHD_recv_() wrapper macro | Evgeny Grin (Karlson2k) | 2016-10-17 |
| | |||
* | Simplify portability by using MHD_send_() wrapper macro | Evgeny Grin (Karlson2k) | 2016-10-17 |
| | |||
* | Added socketpair creation in non-blocking mode to save system calls where ↵ | Evgeny Grin (Karlson2k) | 2016-10-11 |
| | | | | supported | ||
* | Refactored mhd_locks.h and mhd_sockets.h: allow usage of macros without | Evgeny Grin (Karlson2k) | 2016-10-11 |
| | | | | aborting of execution. | ||
* | simplify error handling by baking it into the macros | Christian Grothoff | 2016-09-22 |
| | |||
* | mhd_sockets: fixed W32 macro for MHD_socket_pair_() | Evgeny Grin (Karlson2k) | 2016-09-14 |
| |