Evgeny Grin (Karlson2k)
b6979795cd
microhttpd.h: minor doxy fix
2022-10-10 11:54:33 +03:00
Evgeny Grin (Karlson2k)
cfe614ca37
test_https_session_info: removed hardcoded TLS version
...
Test rewritten to use several known TLS versions. If all known TLS
version fail, test is skipped instead of error.
This way MHD is forward-compatible with TLS libraries versions, as
TLS versions are phased out from time to time.
2022-10-10 11:54:32 +03:00
Evgeny Grin (Karlson2k)
a781ffa583
test_tls_extensions: removed unused test
...
The test has not been used for a long time.
The initial idea of the test was testing GnuTLS for some bugs. Let's
leave GnuTLS testing for GnuTLS test-suite.
2022-10-10 11:54:32 +03:00
Evgeny Grin (Karlson2k)
3330f10e62
testcurl/https: some simplifications and clean-ups
2022-10-10 11:54:32 +03:00
Evgeny Grin (Karlson2k)
6e78e80225
testcurl/https: added proper check for snprintf() result
2022-10-10 11:54:32 +03:00
Evgeny Grin (Karlson2k)
f8441dac5f
testcurl/https: significantly simplified test URI
...
The set URI was overcomplicated without any practical reasons.
Fixed compiler warning on W32.
2022-10-10 11:54:31 +03:00
Evgeny Grin (Karlson2k)
43e10b9088
MHD_poll(): removed unneeded check
...
The shutdown flag is handled externally
2022-10-10 11:54:31 +03:00
Evgeny Grin (Karlson2k)
3921f777c1
daemon: small refactoring for more compact code when poll() is not supported
2022-10-10 11:54:31 +03:00
Evgeny Grin (Karlson2k)
88d27af738
MHD_run_wait(): improved readability
2022-10-10 11:54:31 +03:00
Evgeny Grin (Karlson2k)
9f22ba9b0b
microhttpd.h: improved doxy for MHD_USE_THREAD_PER_CONNECTION
2022-10-10 11:54:30 +03:00
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