aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_sockets.h
Commit message (Collapse)AuthorAge
* Updated copyright yearsEvgeny Grin (Karlson2k)2024-01-31
|
* mhd_sockets: fixed error code for W32Evgeny 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 valueEvgeny 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: cosmeticsEvgeny Grin (Karlson2k)2023-11-07
|
* mhd_sockets.h: directly used detected system FD_SETSIZEEvgeny Grin (Karlson2k)2023-11-07
|
* Use '#ifdef PARAM' instead of '#if PARAM' for configuration optionsEvgeny Grin (Karlson2k)2022-05-16
|
* Fixed some compiler warnings on W32Evgeny Grin (Karlson2k)2022-05-14
|
* Fixed many macrosEvgeny Grin (Karlson2k)2022-04-23
| | | | 'defined()' should be used without space before bracket
* Added support for GNU/kFreeBSD in sockets functionsEvgeny Grin (Karlson2k)2022-01-10
|
* mhd_sockets: minor macro correctionEvgeny Grin (Karlson2k)2021-12-17
|
* mhd_sockets: reordered includes for better compatibilityEvgeny Grin (Karlson2k)2021-12-01
|
* Added missing ifdef guard for <stdbool.h>Evgeny Grin (Karlson2k)2021-12-01
|
* Fixed MHD_FEATURE_AUTOSUPPRESS_SIGPIPE return valueEvgeny Grin (Karlson2k)2021-11-28
|
* mhd_sockets: cosmeticsEvgeny Grin (Karlson2k)2021-11-06
|
* mhd_sockets: added more network error codesEvgeny Grin (Karlson2k)2021-11-06
|
* mhd_sockets: code style fixesEvgeny 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 platformsEvgeny 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 resultsEvgeny Grin (Karlson2k)2021-04-18
|
* mhd_sockets: removed dead codeEvgeny Grin (Karlson2k)2021-04-18
|
* mhd_send: finally handle sockets errors in portable wayEvgeny Grin (Karlson2k)2021-04-16
|
* SIGPIPE macros minor refactoringEvgeny Grin (Karlson2k)2021-02-24
|
* Fixed file permissions in repoEvgeny Grin2021-01-18
|
* Refined TCP_NOPUSH handling on OpenBSDEvgeny Grin (Karlson2k)2020-12-22
|
* Fixed: avoided SIGPIPE if possiibleEvgeny 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 macrosEvgeny 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 functionsEvgeny Grin (Karlson2k)2020-11-29
|
* mhd_sockets: renamed macros for clarityEvgeny Grin (Karlson2k)2020-11-29
|
* clean up #define mess a bitChristian Grothoff2020-02-14
|
* tighten formatting rulesChristian Grothoff2019-10-31
|
* applying uncrustify to ensure uniform indentationChristian Grothoff2019-10-17
|
* always set nodelay, except if we cannot corkChristian Grothoff2019-08-01
|
* mhd_sockets.h: minor micros fixesEvgeny 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 syscallsEvgeny Grin (Karlson2k)2018-12-10
|
* fixing misc build issues, mostly in the new src/lib/Christian Grothoff2018-02-14
|
* more work on mhd2 API implementationChristian Grothoff2018-02-07
|
* Improved compatibility with CygwinEvgeny Grin (Karlson2k)2017-11-26
|
* mhd_sockets.h: Fixed compiler warningsEvgeny Grin (Karlson2k)2017-03-14
|
* Corrected monitor 'upgraded' sockets for errors, corrected handling of error andEvgeny 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 *BSDEvgeny Grin (Karlson2k)2016-10-24
|
* mhd_sockets.h: Simplified macrosEvgeny Grin (Karlson2k)2016-10-22
|
* Simplify portability by using MHD_recv_() wrapper macroEvgeny Grin (Karlson2k)2016-10-17
|
* Simplify portability by using MHD_send_() wrapper macroEvgeny 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 withoutEvgeny Grin (Karlson2k)2016-10-11
| | | | aborting of execution.
* simplify error handling by baking it into the macrosChristian Grothoff2016-09-22
|
* mhd_sockets: fixed W32 macro for MHD_socket_pair_()Evgeny Grin (Karlson2k)2016-09-14
|