4746 Commits
Author SHA1 Message Date
Christian Grothoff 055776ffe0 really fix warning properly 2024-09-30 10:58:25 +02:00
Christian Grothoff 4ff5f1f43f -fix warning 2024-09-30 10:21:31 +02:00
Evgeny Grin (Karlson2k) ef2c98fb15 test_upgrade: removed multiplier used for debugging 2024-09-30 03:54:08 +02:00
Evgeny Grin (Karlson2k) c2c7123825 Renamed public upgraded handle type 2024-09-30 03:49:10 +02:00
Evgeny Grin (Karlson2k) a6ae3ea366 Renamed upgrade_net.c -> upgraded_net.c 2024-09-30 03:40:35 +02:00
Evgeny Grin (Karlson2k) efd3856cf4 upgrade_net: fixed uninitialised variable 2024-09-30 03:38:12 +02:00
Evgeny Grin (Karlson2k) 5dda38e084 test_upgrade: ported test to the new API 2024-09-30 03:26:16 +02:00
Evgeny Grin (Karlson2k) 8fb88663fe stream_funcs.c: refactoring 2024-09-30 03:26:16 +02:00
Evgeny Grin (Karlson2k) 7889ab0ec1 mhd_sockets_macros.h: added more macros, useful for test-suite 2024-09-30 03:21:13 +02:00
Evgeny Grin (Karlson2k) d0c60a86f9 MHD_upgraded_send(): removed impossible path 2024-09-30 02:09:23 +02:00
Evgeny Grin (Karlson2k) 4ff351438e MHD_upgraded_send(): do not wait for socket readyness if all data have been sent 2024-09-30 02:08:18 +02:00
Evgeny Grin (Karlson2k) d639fbb5a9 upgrade_net: do not check for network error if select() or poll() succeeded 2024-09-30 02:06:22 +02:00
Evgeny Grin (Karlson2k) 9296809662 upgrade_proc: fixed assert 2024-09-30 02:01:11 +02:00
Evgeny Grin (Karlson2k) 2eb36e7375 conn_data_send.c: added handling of the new state for Upgrading 2024-09-30 02:00:48 +02:00
Evgeny Grin (Karlson2k) aa17193bca conn_data_send.c: refactored to make sure than new states are not missed 2024-09-30 01:59:44 +02:00
Evgeny Grin (Karlson2k) 756f361ab0 events_process: fixed assert for poll() and upgraded or suspended connections 2024-09-30 01:56:38 +02:00
Evgeny Grin (Karlson2k) 45b97f10a7 microhttpd2.h: added attributes for callback for upgrading 2024-09-30 01:55:34 +02:00
Evgeny Grin (Karlson2k) be6292eb0c MHD_upgraded_send(): corrected public API doxy 2024-09-29 17:59:34 +02:00
Evgeny Grin (Karlson2k) 2cbfbae808 MHD_upgraded_send(): do not retry with sending if timeout is precisely expired 2024-09-29 17:57:39 +02:00
Evgeny Grin (Karlson2k) be42d08edf upgrade_net: improved formatting and fixed potential compiler warnings 2024-09-29 17:45:24 +02:00
Evgeny Grin (Karlson2k) c1bd736967 MHD_upgraded_send(): fixed incorrect last sleep time 2024-09-29 17:43:19 +02:00
Evgeny Grin (Karlson2k) 0f7ecd421f Fixed missing check for variable overflow introduced by recent commits 2024-09-29 17:24:29 +02:00
Evgeny Grin (Karlson2k) 044f716f1e Fixed compiler warnings introduced by previous commit 2024-09-29 17:17:49 +02:00
Evgeny Grin (Karlson2k) e5857a85ad upgrade_net.c: minor readability improvement 2024-09-29 17:11:57 +02:00
Christian Grothoff e370967e24 -adding myself 2024-09-29 16:37:41 +02:00
Christian Grothoff 1151331f73 respect max_wait_millisec even without select/poll/epoll 2024-09-29 16:37:09 +02:00
Christian Grothoff fd717a5f4b bugfix 2024-09-29 16:35:25 +02:00
Christian Grothoff add088d14e bugfix 2024-09-29 16:34:54 +02:00
Christian Grothoff 1516d2dc4b fix sleep logic: only wait specified duration, even if that is smaller than 100ms 2024-09-29 16:33:16 +02:00
Christian Grothoff b999efd6e2 -fix misc warnings 2024-09-29 16:20:14 +02:00
Christian Grothoff 7d67a02319 annotate as output 2024-09-29 15:52:30 +02:00
Evgeny Grin (Karlson2k) 75e2defda4 HTTP Upgrade: corrections 2024-09-28 18:48:46 +02:00
Evgeny Grin (Karlson2k) a17ff4bbeb Fixed the order of function attribures 2024-09-27 10:34:56 +02:00
Evgeny Grin (Karlson2k) 709062dc1b HTTP Upgrade: implemented the first test version 2024-09-24 19:32:07 +02:00
Evgeny Grin (Karlson2k) a61bd1800b mhd_limits: minor alignment with updated code style 2024-09-24 19:32:06 +02:00
Evgeny Grin (Karlson2k) 799a519456 daemon_start: fixed initialisation of one DL-linked list 2024-09-24 19:32:06 +02:00
Evgeny Grin (Karlson2k) d503bfcc5f mhd_send: fixed wrong post-send options parameters 2024-09-24 19:32:06 +02:00
Evgeny Grin (Karlson2k) 1d60ae959e Fixed some compiler warnings 2024-09-24 19:32:05 +02:00
Evgeny Grin (Karlson2k) 89f41800c1 Makefile: created phony target to check for source files not referenced by Makefile 2024-09-24 19:32:05 +02:00
Evgeny Grin (Karlson2k) 9e8b3fe3a0 Makefile: moved special targets 2024-09-24 19:32:05 +02:00
Evgeny Grin (Karlson2k) 20830401ec mhd_panic.c: fixed typo in doxy 2024-09-24 19:32:04 +02:00
Evgeny Grin (Karlson2k) c560983a1d HTTP upgrade: first stage 2024-09-24 19:32:04 +02:00
Evgeny Grin (Karlson2k) 7a8242ecc0 mhd_action.h: added doxy for the POST action 2024-09-24 19:32:04 +02:00
Evgeny Grin (Karlson2k) 50dd3677ef mhd_str: improvements and fix
To be backported
2024-09-15 13:51:40 +02:00
Evgeny Grin (Karlson2k) cfa7224ec3 Better support various "visibility" function attributes 2024-09-14 13:40:24 +02:00
Evgeny Grin (Karlson2k) a32f2b28da Improved handling of "Expect:" request header
Added error reply for unsupported values.
2024-09-13 21:00:05 +02:00
Evgeny Grin (Karlson2k) 55c30b6424 Fixed name of one status code 2024-09-13 20:20:09 +02:00
Evgeny Grin (Karlson2k) 72a66f15ff Request processing: sorted order of headers checking 2024-09-13 17:30:59 +02:00
Evgeny Grin (Karlson2k) 878b920d07 Various minor comments fixes 2024-09-13 17:28:02 +02:00
Evgeny Grin (Karlson2k) efbba49f8e mhd_action.h: use POST parser conditionally 2024-09-13 17:26:26 +02:00