Commit Graph
5171 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 35e15fd830 Updated .gitingnore 2024-01-29 22:24:26 +01:00
Evgeny Grin (Karlson2k) 6285d14f09 libcurl tests: fixed compiler warnings 2024-01-29 22:11:44 +01:00
Evgeny Grin (Karlson2k) 0489469cd6 make-dist.sh: allowed Debian trixie/sid 2024-01-29 22:11:16 +01:00
Evgeny Grin (Karlson2k) c28176fdfb configure: fixed some compiler warnings 2024-01-29 22:10:30 +01:00
Evgeny Grin (Karlson2k) 3bd6b07fc4 Minor corrections for bc827fcc09 2024-01-29 12:01:19 +01:00
Evgeny Grin (Karlson2k) 5f77812125 Minor correction for 52a5e46584 2024-01-28 23:36:40 +01:00
Evgeny Grin (Karlson2k) bc827fcc09 digest_auth_example_adv: added new example
The new example demonstrates advanced usage of the digest auth API
2024-01-28 23:14:44 +01:00
Evgeny Grin (Karlson2k) f7969b8749 digest_auth_example: updated and fixed
The example was updated to use the new digest auth API.
Fixed run on W32.
2024-01-28 23:04:31 +01:00
Evgeny Grin (Karlson2k) e981dee05d Fixed some doxy for digest auth 2024-01-28 23:02:32 +01:00
Christian Grothoff 32aa4d0d99 fix #8012 2024-01-21 12:29:38 +01:00
Christian Grothoff 45aa83f172 fix memory leak on error path 2024-01-21 11:44:15 +01:00
Christian Grothoff 0e4d6c2f93 clean up logic, simplify one dead branch in test 2024-01-21 10:45:19 +01:00
Christian Grothoff 52a5e46584 use correct HTTP header (content type, not content encoding) for mime type in example; do check return value in example 2024-01-21 10:33:44 +01:00
Christian Grothoff 9131da3340 regenerate POTfiles 2024-01-21 10:18:35 +01:00
Christian Grothoff 0d85d57380 add missing lock, do not call 'close(-1)' on very rare error path 2024-01-21 10:18:21 +01:00
Christian Grothoff 639435c215 notes on MHD2 API 2024-01-19 20:13:23 +01:00
Evgeny Grin (Karlson2k) bcfdf016a4 Docs correction as suggested by Aymeric Agon-Rambosson in ML 2024-01-05 13:58:26 +03:00
Evgeny Grin (Karlson2k) 47f5f72591 test_upgrade{,_large}{,_tls}: unified code, removed workarounds, added new test
Added test with buffers larger than maximum TLS packet size and with
message larger than buffer.

New MHD code does not need any "kicker" workaround anymore (used in
old test_upgrade_large.c code).
2024-01-04 16:47:07 +03:00
Evgeny Grin (Karlson2k) 8bfaec71d5 MHD_OPTION_CONNECTION_MEMORY_{LIMIT,INCREMENT}: added ignore of zero value 2024-01-04 16:33:36 +03:00
Evgeny Grin (Karlson2k) 156e10012c test_upgrade: changed the order of send/receive 2024-01-02 15:46:10 +03:00
Evgeny Grin (Karlson2k) 8bb89d0be4 connection.c: muted false-positive compiler warning 2023-12-31 15:53:26 +03:00
Evgeny Grin (Karlson2k) d5ea3b626b daemon: one-line comment formatting 2023-12-31 15:37:53 +03:00
Christian Grothoff de02ef1342 initialize required_bytes on all code paths to avoid false-positive compiler warning 2023-12-31 12:12:52 +01:00
Evgeny Grin (Karlson2k) a532889eff test_digestauth_concurrent: fixed error message 2023-12-29 16:58:16 +03:00
Evgeny Grin (Karlson2k) 8d4496944b configure: implemented setting DAuth defaults by parameters 2023-12-29 16:58:16 +03:00
Evgeny Grin (Karlson2k) e0d8708b33 tests: added setting of DAuth max nc value by daemon option 2023-12-29 16:57:15 +03:00
Evgeny Grin (Karlson2k) ce1ea19549 Added daemon options for default nonce timeout and max nc values 2023-12-28 13:30:47 +03:00
Evgeny Grin (Karlson2k) ff63d75797 digest auth: added default timeout and max nc values 2023-12-28 12:51:07 +03:00
Evgeny Grin (Karlson2k) 6f9ff50bed internal.h: reordered members in struct MHD_Daemon 2023-12-28 11:29:38 +03:00
Evgeny Grin (Karlson2k) 448901b4d5 microhttpd.h: minor doxy improvement 2023-12-28 10:30:17 +03:00
Evgeny Grin (Karlson2k) c39c55a220 bootstrap: simplified autotools invocation
Old workarounds are not needed any more as autopoint is executed now
automatically by 'make dist'
2023-12-28 09:26:47 +03:00
Evgeny Grin (Karlson2k) c9402fb971 bootstrap: added fallback for uncrustify conf installation 2023-12-28 09:24:24 +03:00
Evgeny Grin (Karlson2k) 9c22b66afd bootstrap: fixed fallback detection of sources dir 2023-12-28 09:14:51 +03:00
Evgeny Grin (Karlson2k) 8bb481f66e "Upgraded" TLS connections: removed minor duplicated code 2023-12-02 22:49:25 +03:00
Evgeny Grin (Karlson2k) da9505598c Fixed epoll processing of "Upgraded" connections broken by 38599d9fab 2023-12-02 22:48:17 +03:00
Evgeny Grin (Karlson2k) f6e4e13e92 "Upgraded" TLS connections: fixed sending of large messages
In epoll mode with internal threads if large enough (>16KB) sending
buffer is used, "write ready" status could be cleared when it should
not.
Note: to have >16KB buffer for sending, connection pool memory should
be >32KB + request header size (+ various pointers size).
2023-12-02 20:14:31 +03:00
Evgeny Grin (Karlson2k) 6fb386ec44 "Upgraded" TLS connections: force processing again if 'was_close' missed 2023-12-02 20:14:31 +03:00
Evgeny Grin (Karlson2k) 38599d9fab "Upgraded" TLS connections: fixed reading last chunks when closing 2023-12-02 20:14:31 +03:00
Evgeny Grin (Karlson2k) f09bf9eafd test_upgrade: added checking of socket shutdown status
Currently enabled only for non-TLS connections
2023-12-02 20:14:23 +03:00
Christian Grothoff 4e5b65706e fix #7967 2023-12-02 20:32:42 +09:00
Evgeny Grin (Karlson2k) 38c06b6aeb test_upgrade: implemented timeouts for all socket operations 2023-11-24 17:49:41 +03:00
Evgeny Grin (Karlson2k) b3c1e629e6 test_upgrade: merged similar code paths 2023-11-24 16:08:31 +03:00
Evgeny Grin (Karlson2k) 1070d24aa6 test_upgrade: fixed timeout value for external select
Now test properly uses MHD-provided timeout value. This should detect
problems if wrong timeout is reported for external polling modes.
2023-11-24 16:08:31 +03:00
Evgeny Grin (Karlson2k) 7d7d9bc6b1 test_upgrade: added timeout detection on send/recv operations 2023-11-24 16:08:31 +03:00
Evgeny Grin (Karlson2k) 53e1e48648 test_upgrade: set TCP_NODELAY unconditionally on used sockets 2023-11-24 16:08:30 +03:00
Evgeny Grin (Karlson2k) 80ecc6d37c test_upgrade: added initial support for timeout detection 2023-11-24 16:08:30 +03:00
Evgeny Grin (Karlson2k) 90b2bab0d5 test_upgrade: used sized send and receive, removed VLA, other improvements 2023-11-24 16:08:30 +03:00
Evgeny Grin (Karlson2k) 1cf76efe80 test_upgrade{,_large}: minor improvements 2023-11-24 16:08:30 +03:00
Evgeny Grin (Karlson2k) 0ddd04b4fc mhd_sockets: fixed error code for W32
The code was used only in tests and was not relevant for W32.
2023-11-24 16:08:25 +03:00
Evgeny Grin (Karlson2k) a19df909da Officially support zero for MHD_OPTION_THREAD_POOL_SIZE 2023-11-23 13:47:00 +03:00