Commit Graph
3497 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) bd41946e8f Renamed 'con_cls' -> 'req_cls' for access handler callback
The argument is actually request-specific, not connection specific. The
name was confusing.
Fixed related documentation and clarified usage.

Also fixed code where argument named 'unused' was actually used.
2022-01-18 15:18:40 +03:00
Evgeny Grin (Karlson2k) 17c22c2c3b digestauth: added macros for algorithms identifications 2022-01-18 12:41:32 +03:00
Christian Grothoff 899e26205a fix capitalization of SHA-256 / MD5 as per RFC 7616 as reported on the mailinglist by Ahmet Kermen 2022-01-17 10:51:08 +01:00
Evgeny Grin (Karlson2k) 0ea5d51447 test_upgrade{,_large}: used the same port for all checks.
Fixed port conflict for platforms with broken detection of autobind port
2022-01-15 17:45:48 +03:00
Evgeny Grin (Karlson2k) 0a478564f7 test_upgrade{,_large}: simplified stdout,stderr flushing 2022-01-15 17:27:45 +03:00
Evgeny Grin (Karlson2k) d44b9b23e0 test_upgrade_large: applied fixes and improvements from test_upgrade 2022-01-15 17:04:51 +03:00
Evgeny Grin (Karlson2k) dab2e23151 test_upgrade: added missing fflush() 2022-01-15 17:04:51 +03:00
Evgeny Grin (Karlson2k) 42d39ec4bf test_upgrade: minor code refactoring 2022-01-15 17:04:51 +03:00
Evgeny Grin (Karlson2k) 8c4f7ce1ea test_upgrade: use 'volatile' for variable with multithread access 2022-01-15 17:04:51 +03:00
Evgeny Grin (Karlson2k) b5a7f1835f test_upgrade: fail if connection is closed when it shouldn't 2022-01-15 17:04:50 +03:00
Evgeny Grin (Karlson2k) 34a6a0254f test_upgrade: don't fail with particular sockets errors 2022-01-15 17:04:50 +03:00
Evgeny Grin (Karlson2k) c5c6afeeb9 test_upgrade: replaced a few left abort() with meaningful descriptions 2022-01-15 15:53:47 +03:00
Evgeny Grin (Karlson2k) 376afc84c2 test_upgrade: added detailed error reporting and add some check for return values 2022-01-13 22:16:19 +03:00
Evgeny Grin (Karlson2k) b09dc37301 test_upgrade{,_large}: fixed use of uninitialized value 2022-01-13 21:04:03 +03:00
Evgeny Grin (Karlson2k) ebe0f498d8 tests: simplified libcurl HTTP settings 2022-01-12 19:15:56 +03:00
Evgeny Grin (Karlson2k) 856d716866 testcurl tests: updated to use test helpers in local headers 2022-01-12 19:15:16 +03:00
Evgeny Grin (Karlson2k) 14a46d9c09 test_quiesce: added more checking and error reporting 2022-01-10 22:47:46 +03:00
Evgeny Grin (Karlson2k) 2f282f18d1 tests: fixed libcurl HTTP/1.0 / HTTP/1.1 setting 2022-01-10 19:10:49 +03:00
Evgeny Grin (Karlson2k) a623db03b8 Added support for GNU/kFreeBSD in sockets functions 2022-01-10 15:20:31 +03:00
Evgeny Grin (Karlson2k) cbd62cc2d3 Autotools refactoring: better follow GNU coding standards
Never override CFLAGS, CPPFLAGS, and LDFLAGS in 'configure'.
Let user override compile setting as make-time almost in the same way
like at configure-time.

Removed some redundant compile settings.
2022-01-06 19:05:41 +03:00
Evgeny Grin (Karlson2k) b1b3301ac3 Additional doxy corrections.
Fixes for 6d67eadb61
2021-12-30 12:39:50 +03:00
Evgeny Grin (Karlson2k) 11fcf26057 digestauth.c: fixed coding style 2021-12-29 10:48:31 +03:00
Evgeny Grin (Karlson2k) 6d67eadb61 Doxy corrections, fixes, and sync 2021-12-29 10:47:14 +03:00
Evgeny Grin (Karlson2k) 983aa85d51 Bump MHD_VERSION to indicate development version 2021-12-28 11:58:50 +03:00
Evgeny Grin (Karlson2k) 940041ad78 Released GNU libmicrohttpd 0.9.75 2021-12-26 20:35:58 +03:00
Evgeny Grin (Karlson2k) cf42e7fd4c test_large_put: compatibility with old libcurl
Compatibility was broken by 5ce0c23e37
2021-12-26 18:25:45 +03:00
Evgeny Grin (Karlson2k) 78784ce6db test_large_put: increased timeout
Incremental test may took longer than 5 seconds.
2021-12-26 17:38:19 +03:00
Evgeny Grin (Karlson2k) 38dcc34b9c test_large_put: added request timeout detection 2021-12-26 17:36:27 +03:00
Evgeny Grin (Karlson2k) 5ce0c23e37 test_large_put: added more checking for return values 2021-12-26 16:46:03 +03:00
Evgeny Grin (Karlson2k) 73c43a7ef7 Added workaround for system clock jumps back
Same OSes (namely OpenBSD) has system clocks that must be monotonic,
but in practice clocks may jump forward and back up to 500 milliseconds.
2021-12-26 12:41:49 +03:00
Evgeny Grin (Karlson2k) 0dd7f1732a mhd_mono_clock: fixed comment 2021-12-26 12:41:49 +03:00
Evgeny Grin (Karlson2k) 430d7251fa Reduced maximum possible connection timeout
The maximum timeout value is still too large to be used (more than
hundred thousand years).
2021-12-26 12:41:48 +03:00
Evgeny Grin (Karlson2k) 005d1f25b2 test_client_put_stop: ensure that some data will be received by MHD before closing
Simplified and unified code, improved readability.
2021-12-26 12:41:48 +03:00
Evgeny Grin (Karlson2k) 8140b9e737 test_client_put_stop: added detection of unexpected connection shut down 2021-12-26 12:41:47 +03:00
Evgeny Grin (Karlson2k) 1497b774c7 connection: mute compiler warning for some platforms 2021-12-25 15:26:26 +03:00
Evgeny Grin (Karlson2k) 6f04fde5e6 Makefile: removed duplicated recipe for W32 2021-12-20 19:27:27 +03:00
Evgeny Grin (Karlson2k) 2f44f1ec65 Bump MHD_VERSION to indicate development build 2021-12-20 19:25:17 +03:00
Evgeny Grin (Karlson2k) a4ae51f581 Released GNU libmicrohttpd 0.9.74 2021-12-19 18:36:21 +03:00
Evgeny Grin (Karlson2k) 969e64040f Updated HTTP headers macros from registry 2021-12-19 15:44:54 +03:00
Evgeny Grin (Karlson2k) 4f01942038 microhttpd.h: minor doxy fixes 2021-12-17 20:54:39 +03:00
Evgeny Grin (Karlson2k) 31360bbd07 mhd_sockets: minor macro correction 2021-12-17 10:43:08 +03:00
Evgeny Grin (Karlson2k) feb04e725c Additional fix for old gnutls versions 2021-12-16 11:29:45 +03:00
Evgeny Grin (Karlson2k) 21f90d552f Makefile: support silent rules for W32 RC 2021-12-14 22:33:43 +03:00
Evgeny Grin (Karlson2k) 65b7612efb Makefile: support silent rules for static lib 2021-12-14 22:33:43 +03:00
Evgeny Grin (Karlson2k) 2cd73a76cb Correction for de383203d4 2021-12-14 22:33:42 +03:00
Evgeny Grin (Karlson2k) de383203d4 Reworked dlltool supported.
* Added support for weakened oversimplified half-broken llvm-dlltool
* Streamlined makefile receipts for W32 .dll and related files
* Added support for verbose/silent makefile rules
* Removed redundant printing from makefile
* Added makefile receipts for proper generation of all required files
* Silenced MS lib warning
* Silenced MS lib invocation
2021-12-14 18:23:06 +03:00
Evgeny Grin (Karlson2k) 5eae5d9ba2 https tests: mute compiler warning on old systems 2021-12-13 21:07:44 +03:00
Evgeny Grin (Karlson2k) 9a6ebcd612 Workaround for old broken GnuTLS builds 2021-12-13 21:06:17 +03:00
Evgeny Grin (Karlson2k) 73b03e9027 https tests: simplified makefile 2021-12-13 14:12:12 +03:00
Evgeny Grin (Karlson2k) ae6071dcd2 GnuTLS: correctly pass sockets on W32 x64 2021-12-12 20:56:47 +03:00