Commit Graph
5609 Commits
Author SHA1 Message Date
Christian Grothoff 0282778dba -fix demo.c code 2024-09-02 10:33:49 +02:00
Christian Grothoff d223e0e15c improve error handling in demo.c 2024-09-02 10:19:48 +02:00
Evgeny Grin (Karlson2k) 69184717bd POST parser: fixed partial data processing 2024-09-02 10:09:05 +02:00
Evgeny Grin (Karlson2k) c4fb54d46c POST multipart parser: fixed processing of the data with broken termination 2024-09-02 01:36:56 +02:00
Evgeny Grin (Karlson2k) 152414c667 response: added PANIC for wrong use 2024-09-02 01:31:35 +02:00
Evgeny Grin (Karlson2k) 332e10db9d src/examples2: added .gitignore 2024-09-02 01:31:34 +02:00
Evgeny Grin (Karlson2k) dfb676011e POST multipart parser: fixed streaming 2024-09-02 01:31:34 +02:00
Evgeny Grin (Karlson2k) e1a21dd74b stream_process_reply: do not duplicate "Connection" headers when have user headers 2024-09-02 01:31:33 +02:00
Evgeny Grin (Karlson2k) 0a5775ca8a POST parser: implemented incremental processing when system provides data larger than "large buffer" 2024-09-02 01:31:33 +02:00
Evgeny Grin (Karlson2k) 274d0c8633 POST multipart parser: fixed streaming processing 2024-09-02 01:28:59 +02:00
Evgeny Grin (Karlson2k) 805d145322 POST multipart parser: improved "name" and "filename" detection 2024-09-02 01:28:58 +02:00
Evgeny Grin (Karlson2k) 92747c6e8e post_parser_funcs: re-written some asserts 2024-09-02 01:28:56 +02:00
Evgeny Grin (Karlson2k) 3944ddb465 demo: fixed NULL dereferences 2024-09-02 01:28:56 +02:00
Evgeny Grin (Karlson2k) 113761e7b0 action: added missing response use counter increment 2024-09-02 01:28:55 +02:00
Evgeny Grin (Karlson2k) 7ed36eb9cb Fixed important lost code, broken by options-generator commit 59b558d928
A fix that would take just a couple of minutes without options-generator.
2024-09-02 01:28:54 +02:00
Evgeny Grin (Karlson2k) cf7bc560fd demo: minor readability improvement 2024-09-01 12:06:48 +02:00
Evgeny Grin (Karlson2k) c85dcb058a demo: fixed page build error resulted in broken page and uninitialised data use 2024-09-01 12:04:30 +02:00
Evgeny Grin (Karlson2k) 3ebcdb43fb Fixed copy-paste error in previous commit 2024-09-01 10:59:07 +02:00
Evgeny Grin (Karlson2k) a5bc23aa71 MHD_upload_action_from_response(): fixed NULL response processing 2024-09-01 10:55:06 +02:00
Evgeny Grin (Karlson2k) 1c100f939f demo: fixed too late reusable response attribute 2024-08-31 13:04:54 +02:00
Evgeny Grin (Karlson2k) 216af47591 Fixed location of the call of the response use increment function 2024-08-31 13:00:10 +02:00
Evgeny Grin (Karlson2k) b43dcdc8a3 Added more function attributes for internal functions 2024-08-31 12:48:09 +02:00
Evgeny Grin (Karlson2k) c059a3c57d Fixed missing reusable response use increment 2024-08-31 12:37:49 +02:00
Evgeny Grin (Karlson2k) 5661da74ed Fixed typo in internal function name 2024-08-31 12:20:42 +02:00
Evgeny Grin (Karlson2k) fc363a7097 API: Fixed wrong function attributes 2024-08-31 12:13:18 +02:00
Evgeny Grin (Karlson2k) 03d4a20131 demo: fixed one more NULL dereference 2024-08-31 11:55:40 +02:00
Evgeny Grin (Karlson2k) 46b9c0fa74 Makefile: changed the order of subdirs processing 2024-08-31 11:50:30 +02:00
Evgeny Grin (Karlson2k) 8f05df5bdf demo: fixed NULL dereference 2024-08-31 11:48:23 +02:00
Evgeny Grin (Karlson2k) e56d40a7a7 demo: updated to use the new API 2024-08-31 11:33:04 +02:00
Evgeny Grin (Karlson2k) 06092dc444 demo: portability fixes 2024-08-31 11:32:34 +02:00
Evgeny Grin (Karlson2k) 2d85aa3972 demo: fixed compiler warning 2024-08-31 09:50:53 +02:00
Evgeny Grin (Karlson2k) b1fb42c7dd demo: handle correctly unexpected requests 2024-08-31 09:50:20 +02:00
Christian Grothoff e2c1939210 demo fixes 2024-08-30 22:38:51 +02:00
Christian Grothoff a6e982461c got demo rewrite to compile 2024-08-30 22:30:44 +02:00
Evgeny Grin (Karlson2k) 83774e4aa9 tests/client_server: fixed "multipart/mixed" data 2024-08-30 04:16:56 +02:00
Evgeny Grin (Karlson2k) 129176492b post_parser_funcs: implemented "multipart/mixed" parsing 2024-08-30 04:16:09 +02:00
Evgeny Grin (Karlson2k) 227073656e Fixed public API for empty response 2024-08-30 04:15:06 +02:00
Evgeny Grin (Karlson2k) 7a7439f82a Reworked POST fields storage 2024-08-27 19:37:23 +02:00
Evgeny Grin (Karlson2k) ede6e9e774 tests/client_server: enabled POST urlencoded testing 2024-08-27 11:45:56 +02:00
Evgeny Grin (Karlson2k) 74c759e129 post_parser: implemented URL-decoding, minor API update 2024-08-27 11:28:01 +02:00
Evgeny Grin (Karlson2k) 0b7a79aa99 option-generator: more basic fixes
Many things are still broken
2024-08-24 17:32:37 +02:00
Evgeny Grin (Karlson2k) cff1e2fa8e tests/client_server: fixed wrong request header 2024-08-23 10:34:27 +02:00
Evgeny Grin (Karlson2k) 660a7c3c05 tests/client_server: fixed leak of libcurl resource 2024-08-23 10:01:22 +02:00
Evgeny Grin (Karlson2k) fb5ea40417 Free "large buffer" earlier 2024-08-22 21:58:01 +02:00
Evgeny Grin (Karlson2k) c6662f8f7d post_parser_funcs: fixed missing init 2024-08-22 21:34:57 +02:00
Evgeny Grin (Karlson2k) db44562b41 tests/client_server: check for NULL in field "value" 2024-08-22 21:34:57 +02:00
Evgeny Grin (Karlson2k) 248ccc95d7 response_from: fixed leak when failed 2024-08-22 21:34:57 +02:00
Evgeny Grin (Karlson2k) 90841ccf4f src/mhd2/Makefile.am: removed duplicated target 2024-08-22 21:34:55 +02:00
Evgeny Grin (Karlson2k) f66567b599 mhd_dlinked_list: added more asserts
Should help analysers to avoid wrong paths
2024-08-22 21:34:55 +02:00
Evgeny Grin (Karlson2k) ad7d62f186 .gitlab-ci.yml: scan-build speed-up 2024-08-22 21:34:14 +02:00