Commit Graph
4744 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 759eb24fbd MHD_start_daemon(): minor readability improvement 2022-10-10 11:54:30 +03:00
Evgeny Grin (Karlson2k) a710f62708 test_https_time_out: second attempt to really check something with this test 2022-10-10 11:54:30 +03:00
Evgeny Grin (Karlson2k) 8fea3c9192 daemon: fixed delayed notification callback in thread-per-connection mode 2022-10-10 11:54:29 +03:00
Evgeny Grin (Karlson2k) 4237407f81 test_https_get_parallel{,_threads}: removed artificial delay 2022-10-10 11:54:29 +03:00
Evgeny Grin (Karlson2k) 8d00c4f778 testcurl/https: enable verbose libcurl on debug builds 2022-10-10 11:54:29 +03:00
Evgeny Grin (Karlson2k) 860010b668 testcurl/https: removed usage of deprecated libcurl parameter 2022-10-10 11:54:28 +03:00
Evgeny Grin (Karlson2k) 26c6ba57bd test_https_session_info: fixed compiler warning with old libcurl 2022-10-06 14:23:04 +03:00
Evgeny Grin (Karlson2k) f7747015d8 testcurl/https: do not enforce TLSv1
Usage of concrete TLS version is not future-proof. Relay on default
version setting by libcurl/TLS lib.
2022-10-05 18:42:20 +03:00
Evgeny Grin (Karlson2k) f069ee365d testcurl/https: removed explicit cipher setting
Explicit ciphers are not required and not future-proof.
2022-10-05 18:42:20 +03:00
Evgeny Grin (Karlson2k) 0be4e8c2a7 testcurl/https: stopped CA file creation/removal
Use CA cert file which is already in the filesystem
2022-10-05 18:42:19 +03:00
Evgeny Grin (Karlson2k) 28e28436c6 testcurl/https: fixed compiler warnings, wrong types 2022-10-05 18:42:19 +03:00
Evgeny Grin (Karlson2k) c1f7c8075a testcurl/https: fixed functions declarations 2022-10-05 13:19:01 +03:00
Evgeny Grin (Karlson2k) 2249c1f5df Removed curl_version_check
No modern and even old platform has such old components
2022-10-05 13:19:01 +03:00
Evgeny Grin (Karlson2k) 30ef790c1a testcurl: updated copyright year in updated files 2022-10-01 17:36:51 +03:00
Evgeny Grin (Karlson2k) 96ff40d7ea test_add_conn: added reasonable limits 2022-10-01 15:07:37 +03:00
Evgeny Grin (Karlson2k) 023e1dba2a testcurl: fixed used types and related warnings 2022-10-01 15:07:36 +03:00
Evgeny Grin (Karlson2k) 81733d43e8 testcurl: fixed functions declarations 2022-10-01 15:04:18 +03:00
Evgeny Grin (Karlson2k) 53207f93b0 testcurl: Muted some compiler warnings, minor refactoring
Used new API for creating of responses to avoid 'const' drops
2022-10-01 15:00:34 +03:00
Evgeny Grin (Karlson2k) b34d7a3e02 microhttpd/tests: muted compiler warnings 2022-09-30 15:47:11 +03:00
Evgeny Grin (Karlson2k) 3f98c6092d Removed "gauger" server usage from the testsuite
The testsuite should test MHD functionality, not measure performance in
some unpredictable conditions.
2022-09-30 15:28:03 +03:00
Evgeny Grin (Karlson2k) 4adc14c948 Some readability improvements 2022-09-28 11:46:59 +03:00
Evgeny Grin (Karlson2k) 13e217f5c2 Added workarounds for clang with W32 and MinGW incorrect headers 2022-09-28 10:46:20 +03:00
Evgeny Grin (Karlson2k) 6933158a95 muted some compiler warnings for clang 2022-09-28 10:39:32 +03:00
Evgeny Grin (Karlson2k) 4153c1cd4c mhd_str: minor refactoring for compact code 2022-09-27 20:36:56 +03:00
Evgeny Grin (Karlson2k) 3cd8296544 mhd_str: fixed compiler warning for compact code 2022-09-27 20:24:24 +03:00
Evgeny Grin (Karlson2k) 889b74b68e connection.c: removed unused check for chunked replies 2022-09-27 17:40:03 +03:00
Evgeny Grin (Karlson2k) 75d3852122 connection.c: added asserts for connection's states processing logic 2022-09-27 17:39:21 +03:00
Evgeny Grin (Karlson2k) dd5b0d6407 connection.c: fixed typo in comment 2022-09-27 17:27:40 +03:00
Evgeny Grin (Karlson2k) 3a7126a3e2 Removed one debug member from release builds 2022-09-27 17:26:19 +03:00
Evgeny Grin (Karlson2k) b997229143 Renamed request processing states for clarity and readability 2022-09-27 17:25:02 +03:00
Evgeny Grin (Karlson2k) ad43f8663c configure: fixed typos in messages 2022-09-27 15:17:22 +03:00
Evgeny Grin (Karlson2k) 77303a4a26 test_head: new test-case for HEAD requests
HEAD requests are handled in a special way.
This handling must be tested.
2022-09-27 14:58:46 +03:00
Evgeny Grin (Karlson2k) ebb17e5da7 connection: skip no-op calling of body generation functions when response body is not used 2022-09-27 14:54:05 +03:00
Evgeny Grin (Karlson2k) db4d4cb4bd test-suite: sorted and fixed build flags 2022-09-27 14:51:32 +03:00
Evgeny Grin (Karlson2k) 14b7b4d3b1 w32: updated custom MHD_config.h file 2022-09-25 19:16:37 +03:00
Evgeny Grin (Karlson2k) b6dcf9d259 w32: sync projects with autotools 2022-09-25 18:40:50 +03:00
Evgeny Grin (Karlson2k) 172b0eeb45 Implemented support for hash calculation by GnuTLS lib functions 2022-09-25 18:40:50 +03:00
Evgeny Grin (Karlson2k) 281b22da0e digestauth: refactored hashing asserts 2022-09-25 18:39:44 +03:00
Evgeny Grin (Karlson2k) ebe7f8d26c digestauth: used weak pseudo-random generators to avoid nonces clashes
Added salt to produce more complicated numbers
2022-09-25 18:39:44 +03:00
Evgeny Grin (Karlson2k) f26b806199 digestauth: changed "slot used" detection logic 2022-09-25 18:39:44 +03:00
Evgeny Grin (Karlson2k) c51718523d digestauth: removed redundant check and report 2022-09-25 18:39:43 +03:00
Evgeny Grin (Karlson2k) eef2d639f6 test_{md5,sha{256,512_256}}: re-use of the context structure
The context structure declaration was moved outside the loops, it should
help to re-use the same memory area which may trigger more potential
bugs.
2022-09-25 18:39:43 +03:00
Evgeny Grin (Karlson2k) b50bed1269 sha{256,512_256}: improved performance of the first steps on BE arches 2022-09-25 18:39:43 +03:00
Evgeny Grin (Karlson2k) 0c9323a9e6 test_{md5,sha{256,512_256}}: added long test sequence 2022-09-25 18:39:43 +03:00
Evgeny Grin (Karlson2k) b6a36f824b test_md5: added more test sequences 2022-09-25 18:39:43 +03:00
Evgeny Grin (Karlson2k) cce6a8d7a7 test_sha{256,512_256}: minor fixes 2022-09-25 18:39:42 +03:00
Evgeny Grin (Karlson2k) 9a3067c30f test_{md5,sha256,sha512_256}: added more checks 2022-09-25 18:39:42 +03:00
Evgeny Grin (Karlson2k) 9e1fcbbf26 md5: added compact code version 2022-09-25 18:39:42 +03:00
Evgeny Grin (Karlson2k) f11a6dcede md5: improved performance of the first round on LE arches 2022-09-25 18:39:42 +03:00
Evgeny Grin (Karlson2k) 532debba7c md5: replaced public domain MD5 implementation with our own implementation 2022-09-25 18:39:41 +03:00