153d581b | 02-May-2020 |
Jay Satiro |
asyn-thread: fix cppcheck warning - Check for NULL entry parameter before attempting to deref entry in Curl_resolver_is_resolved, like is already done in asyn-ares. This is to
asyn-thread: fix cppcheck warning - Check for NULL entry parameter before attempting to deref entry in Curl_resolver_is_resolved, like is already done in asyn-ares. This is to silence cppcheck which does not seem to understand that asyn-ares and asyn-thread have separate Curl_resolver_is_resolved and those units are mutually exclusive. Prior to this change it warned of a scenario where asyn-thread's Curl_resolver_is_resolved is called with a NULL entry from asyn-ares, but that couldn't happen. Reported-by: rl1987@users.noreply.github.com Fixes https://github.com/curl/curl/issues/5326
show more ...
|
85eda4e8 | 23-Apr-2020 |
Jay Satiro |
select: fix overflow protection in Curl_socket_check Follow-up to a96c752 which changed the timeout_ms type from time_t to timediff_t. Ref: https://github.com/curl/curl/pull/524
select: fix overflow protection in Curl_socket_check Follow-up to a96c752 which changed the timeout_ms type from time_t to timediff_t. Ref: https://github.com/curl/curl/pull/5240 Closes https://github.com/curl/curl/pull/5286
show more ...
|
0e058776 | 18-Apr-2020 |
Marc Hoersken |
sockfilt: make select_ws stop waiting on exit signal event This makes sure that select_ws behaves similar to real select which stops waiting on a signal handler being triggered.
sockfilt: make select_ws stop waiting on exit signal event This makes sure that select_ws behaves similar to real select which stops waiting on a signal handler being triggered. This makes it possible to gracefully stop sockfilt.exe on Windows with taskkill /IM sockfilt.exe (without /F force flag). Reviewed-by: Jay Satiro Part of #5260
show more ...
|
7dc8a981 | 18-Apr-2020 |
Marc Hoersken |
tests/server/util.[ch]: add exit event to stop waiting on Windows This commit adds a global exit event to the test servers that Windows-specific wait routines can use to get triggered if
tests/server/util.[ch]: add exit event to stop waiting on Windows This commit adds a global exit event to the test servers that Windows-specific wait routines can use to get triggered if the program was signaled to be terminated, eg. select_ws in sockfilt.c The exit event will be managed by the signal handling code and is set to not reset automatically to support multiple wait routines. Reviewed-by: Jay Satiro Closes #5260
show more ...
|
551577f3 | 18-Apr-2020 |
Marc Hoersken |
tests/server/util.c: fix thread handle not being closed Reviewed-by: Jay Satiro Part of #5260 |
fe28fcf0 | 18-Apr-2020 |
Marc Hoersken |
tests/server/util.c: use raise instead of calling signal handler Use raise to trigger signal handler instead of calling it directly and causing potential unexpected control flow.
tests/server/util.c: use raise instead of calling signal handler Use raise to trigger signal handler instead of calling it directly and causing potential unexpected control flow. Reviewed-by: Jay Satiro Part of #5260
show more ...
|
1abb087a | 26-Apr-2020 |
Marc Hoersken |
tests: add support for SSH server variant specific transfer paths OpenSSH for Windows requires paths in the format of /C:/ instead of the pseudo-POSIX paths /cygdrive/c/ or just /c/
tests: add support for SSH server variant specific transfer paths OpenSSH for Windows requires paths in the format of /C:/ instead of the pseudo-POSIX paths /cygdrive/c/ or just /c/ Reviewed-by: Daniel Stenberg Closes #5298
show more ...
|
a491183c | 02-May-2020 |
Daniel Stenberg |
RELEASE-NOTES: synced |
df2093d2 | 01-May-2020 |
Daniel Stenberg |
libssh2: set the expected total size in SCP upload init ... as otherwise the progress callback gets called without that information, making the progress meter have less info. Re
libssh2: set the expected total size in SCP upload init ... as otherwise the progress callback gets called without that information, making the progress meter have less info. Reported-by: Murugan Balraj Bug: https://curl.haxx.se/mail/archive-2020-05/0000.html Closes #5317
show more ...
|
5cb7f893 | 02-May-2020 |
Daniel Stenberg |
runtests: make the logmsg from the ssh server only show in verbose |
f9c6feba | 01-May-2020 |
Daniel Stenberg |
tests: make test 1248 + 1249 use %NOLISTENPORT ... instead of a port of a non-running server so that it works stand-alone. Closes #5318 |
9d47ff53 | 02-May-2020 |
Daniel Stenberg |
examples: remove asiohiper.cpp This example has repeatedly been reported to contain bugs, and as users copy and paste code from this into production, I now deem it better to not prov
examples: remove asiohiper.cpp This example has repeatedly been reported to contain bugs, and as users copy and paste code from this into production, I now deem it better to not provide the example at all. Closes #5090 Closes #5322
show more ...
|
6540cbbc | 02-May-2020 |
Emil Engler |
doc: add missing closing parenthesis in CURLINFO_SSL_VERIFYRESULT.3 Closes #5320 |
8cf8b293 | 02-May-2020 |
Emil Engler |
KNOWN_BUGS: Remove "curl --upload-file . hang if delay in STDIN" It was fixed in 9a2cbf3 Closes #5319 |
dce30e2e | 30-Apr-2020 |
Daniel Stenberg |
cirrus: disable SFTP and SCP tests ... as we can't seem to start the sshd server on it. Those problems existed before d1239b50bececd (running the SSH server on a random port), but th
cirrus: disable SFTP and SCP tests ... as we can't seem to start the sshd server on it. Those problems existed before d1239b50bececd (running the SSH server on a random port), but they're more noticable now since there are more failed attempts in the logs. Closes #5315
show more ...
|
44f5edd8 | 30-Apr-2020 |
Emil Engler |
runtests: fix typo in the existence of disabled tests checker Closes #5316 |
49bbc4f0 | 30-Apr-2020 |
Dan Fandrich |
test75: Remove precheck test This has not been needed since commit 9fa42bed and often prevents it from running at all with dynamic test ports. |
5f5a7b47 | 30-Apr-2020 |
Dan Fandrich |
tests: Stop referring to server ports when they're not used Several tests referred to specific server ports even when the test didn't actually use that server or specify that it's needed
tests: Stop referring to server ports when they're not used Several tests referred to specific server ports even when the test didn't actually use that server or specify that it's needed. In such cases, the test harness substitutes the text "[not running]" as the port number which causes many such tests to fail due to the inability to parse the URL. These tests are changed to use %NOLISTENPORT which will always be substituted correctly.
show more ...
|
42d8d9a7 | 23-Apr-2020 |
Emil Engler |
GnuTLS: Backend support for CURLINFO_SSL_VERIFYRESULT Closes #5287 |
c0690271 | 26-Apr-2020 |
Daniel Stenberg |
conncache: various concept cleanups More connection cache accesses are protected by locks. CONNCACHE_* is a beter prefix for the connection cache lock macros. Curl_attach_c
conncache: various concept cleanups More connection cache accesses are protected by locks. CONNCACHE_* is a beter prefix for the connection cache lock macros. Curl_attach_connnection: now called as soon as there's a connection struct available and before the connection is added to the connection cache. Curl_disconnect: now assumes that the connection is already removed from the connection cache. Ref: #4915 Closes #5009
show more ...
|
9a8fa076 | 21-Apr-2020 |
Daniel Stenberg |
tests: tests: run stunnel for HTTPS and FTPS on dynamic ports As stunnel is an external tool and it has no specific option to export the actually used port number when asked to listen to
tests: tests: run stunnel for HTTPS and FTPS on dynamic ports As stunnel is an external tool and it has no specific option to export the actually used port number when asked to listen to 0, runtests instead iterates over ten randomly picked high number ports and sticks to the first one stunnel can listen to. Closes #5267
show more ...
|
d1239b50 | 20-Apr-2020 |
Daniel Stenberg |
tests: pick a random port number for SSH Since sshd doesn't have such an option by itself, we iterate over a series of random ports until one works. Closes #5273 |
06ce1669 | 28-Apr-2020 |
Rikard Falkeborn |
libtest/cmake: Remove commented code These were commented out in e9dd0998706a when Makefile.inc was included instead. 11 years have passed since then and the commented code is of cou
libtest/cmake: Remove commented code These were commented out in e9dd0998706a when Makefile.inc was included instead. 11 years have passed since then and the commented code is of course very outdated. Remove it to avoid confusion. Closes #5311
show more ...
|
d39b4128 | 27-Apr-2020 |
Daniel Stenberg |
schannel: source code reindent White space edits only. Conform better to standard curl source code indenting style. Closes #5305 |
68774da9 | 29-Apr-2020 |
Kamil Dudka |
test1177: look for curl.h in source directory If we use a separate build directory, there is no copy of the header. Closes #5310 |