]>
git.ipfire.org Git - thirdparty/curl.git/log
Daniel Stenberg [Mon, 31 Aug 2020 07:45:09 +0000 (09:45 +0200)]
mqtt: enable by default
No longer considered experimental.
Closes #5858
Michael Baentsch [Sat, 29 Aug 2020 12:09:24 +0000 (14:09 +0200)]
tls: add CURLOPT_SSL_EC_CURVES and --curves
Closes #5892
Daniel Stenberg [Sun, 30 Aug 2020 15:02:44 +0000 (17:02 +0200)]
url: remove funny embedded comments in Curl_disonnect calls
Chris Paulson-Ellis [Sat, 29 Aug 2020 17:26:50 +0000 (18:26 +0100)]
conn: check for connection being dead before reuse
Prevents incorrect reuse of an HTTP connection that has been prematurely
shutdown() by the server.
Partial revert of
755083d00deb16
Fixes #5884
Closes #5893
Marc Hoersken [Sat, 29 Aug 2020 09:12:08 +0000 (11:12 +0200)]
buildconf: exec autoreconf to avoid additional process
Also make buildconf exit with the return code of autoreconf.
Reviewed-by: Daniel Stenberg
Follow up to #5853
Closes #5890
Marc Hoersken [Sat, 29 Aug 2020 09:09:32 +0000 (11:09 +0200)]
CI/azure: no longer ignore results of test 1013
Follow up to #5771
Closes #5889
Marc Hoersken [Sat, 29 Aug 2020 07:56:22 +0000 (09:56 +0200)]
docs: add description about CI platforms to CONTRIBUTE.md
Reviewed-by: Daniel Stenberg
Reviewed-by: Marcel Raad
Reviewed-by: Jay Satiro
Closes #5882
Daniel Stenberg [Fri, 28 Aug 2020 20:31:57 +0000 (22:31 +0200)]
tests/getpart: use MIME::Base64 instead of home-cooked
Since we already use the base64 package since a while back, we can just
as well switch to that here too.
It also happens to use the exact same function name, which otherwise
causes a run-time warning.
Reported-by: Marc Hörsken
Fixes #5885
Closes #5887
Marcel Raad [Mon, 3 Aug 2020 08:33:17 +0000 (10:33 +0200)]
ntlm: fix condition for curl_ntlm_core usage
`USE_WINDOWS_SSPI` without `USE_WIN32_CRYPTO` but with any other DES
backend is fine, but was excluded before.
This also fixes test 1013 as the condition for SMB support in
configure.ac didn't match the condition in the source code. Now it
does.
Fixes https://github.com/curl/curl/issues/1262
Closes https://github.com/curl/curl/pull/5771
Marcel Raad [Sat, 22 Aug 2020 08:16:13 +0000 (10:16 +0200)]
AppVeyor: switch 64-bit Schannel Debug CMake builds to Unicode
The Schannel builds are the most useful to verify as they make the most
use of the Windows API. Classic MinGW doesn't support Unicode at all,
only MinGW-w64 and MSVC do.
Closes https://github.com/curl/curl/pull/5843
Marcel Raad [Sat, 22 Aug 2020 08:04:29 +0000 (10:04 +0200)]
CMake: add option to enable Unicode on Windows
As already existing for winbuild.
Closes https://github.com/curl/curl/pull/5843
Marc Hoersken [Fri, 28 Aug 2020 16:21:47 +0000 (18:21 +0200)]
select: simplify return code handling for poll and select
poll and select already return -1 on error according to POSIX,
so there is no need to perform a <0 to -1 conversion in code.
Also we can just use one check with <= 0 on the return code.
Assisted-by: Daniel Stenberg
Reviewed-by: Jay Satiro
Replaces #5852
Closes #5880
Daniel Stenberg [Fri, 28 Aug 2020 21:48:25 +0000 (23:48 +0200)]
RELEASE-NOTES: synced
Jeroen Ooms [Thu, 27 Aug 2020 22:20:47 +0000 (00:20 +0200)]
tests: add test1912 with typechecks
Validates that gcc-typecheck macros match the new option type API.
Closes #5873
Daniel Stenberg [Fri, 28 Aug 2020 13:35:23 +0000 (15:35 +0200)]
easyoptions: provide debug function when DEBUGBUILD
... not CURLDEBUG as they're not always set in conjunction.
Follow-up to
6ebe63fac23f38df
Fixes #5877
Closes #5878
Marc Hoersken [Fri, 28 Aug 2020 20:30:39 +0000 (22:30 +0200)]
sockfilt: handle FD_CLOSE winsock event on write socket
Learn from the way Cygwin handles and maps the WinSock events
to simulate correct and complete poll and select behaviour
according to Richard W. Stevens Network Programming book.
Follow up to #5867
Closes #5879
Marc Hoersken [Wed, 26 Aug 2020 20:13:21 +0000 (22:13 +0200)]
multi: handle connection state winsock events
Learn from the way Cygwin handles and maps the WinSock events
to simulate correct and complete poll and select behaviour
according to Richard W. Stevens Network Programming book.
Reviewed-by: Jay Satiro
Reviewed-by: Marcel Raad
Follow up to #5634
Closes #5867
Daniel Stenberg [Mon, 24 Aug 2020 09:07:59 +0000 (11:07 +0200)]
Curl_pgrsTime - return new time to avoid timeout integer overflow
Setting a timeout to INT_MAX could cause an immediate error to get
returned as timeout because of an overflow when different values of
'now' were used.
This is primarily fixed by having Curl_pgrsTime() return the "now" when
TIMER_STARTSINGLE is set so that the parent function will continue using
that time.
Reported-by: Ionuț-Francisc Oancea
Fixes #5583
Closes #5847
Daniel Stenberg [Thu, 27 Aug 2020 10:46:43 +0000 (12:46 +0200)]
TLS: fix SRP detection by using the proper #ifdefs
USE_TLS_SRP will be true if *any* selected TLS backend can use SRP
HAVE_OPENSSL_SRP is defined when OpenSSL can use it
HAVE_GNUTLS_SRP is defined when GnuTLS can use it
Clarify in the curl_verison_info docs that CURL_VERSION_TLSAUTH_SRP is
set if at least one of the supported backends offers SRP.
Reported-by: Stefan Strogin
Fixes #5865
Closes #5870
Dan Kenigsberg [Fri, 28 Aug 2020 11:26:30 +0000 (14:26 +0300)]
docs: SSLCERTS: fix English syntax
Signed-off-by: Dan Kenigsberg <danken@redhat.com>
Closes #5876
Alessandro Ghedini [Mon, 24 Aug 2020 08:00:13 +0000 (10:00 +0200)]
docs: non-existing macros in man pages
As reported by man(1) when invoked as:
man --warnings -E UTF-8 -l -Tutf8 -Z <file> >/dev/null
Closes #5846
Alessandro Ghedini [Mon, 24 Aug 2020 07:59:14 +0000 (09:59 +0200)]
curl.1: fix typo invokved -> invoked
Closes #5846
Daniel Stenberg [Tue, 25 Aug 2020 14:14:18 +0000 (16:14 +0200)]
buildconf: invoke 'autoreconf -fi' instead
The custom script isn't necessary anymore - but remains for simplicity
and just invokes autoreconf.
Closes #5853
Emil Engler [Wed, 26 Aug 2020 19:39:21 +0000 (21:39 +0200)]
lib: make Curl_gethostname accept a const pointer
The address of that variable never gets changed, only the data in it so
why not make it a "char * const"?
Closes #5866
Daniel Stenberg [Thu, 27 Aug 2020 14:13:41 +0000 (16:13 +0200)]
docs/libcurl: update "Added in" version for curl_easy_option*
Follow-up to
6ebe63fac23f38
Daniel Stenberg [Thu, 27 Aug 2020 12:25:24 +0000 (14:25 +0200)]
scripts: improve the "get latest curl release tag" logic
... by insiting on it matching "^curl-".
Daniel Stenberg [Wed, 26 Aug 2020 06:30:38 +0000 (08:30 +0200)]
configure: added --disable-get-easy-options
To allow disabling of the curl_easy_option APIs in a build.
Closes #5365
Daniel Stenberg [Wed, 26 Aug 2020 06:30:38 +0000 (08:30 +0200)]
options: API for meta-data about easy options
const struct curl_easyoption *curl_easy_option_by_name(const char *name);
const struct curl_easyoption *curl_easy_option_by_id (CURLoption id);
const struct curl_easyoption *
curl_easy_option_next(const struct curl_easyoption *prev);
The purpose is to provide detailed enough information to allow for
example libcurl bindings to get option information at run-time about
what easy options that exist and what arguments they expect.
Assisted-by: Jeroen Ooms
Closes #5365
Eric Curtin [Thu, 27 Aug 2020 11:14:19 +0000 (12:14 +0100)]
HTTP/3: update to OpenSSL_1_1_1g-quic-draft-29
Closes #5871
Daniel Stenberg [Thu, 27 Aug 2020 09:31:27 +0000 (11:31 +0200)]
RELEASE-NOTES: synced
Jay Satiro [Wed, 26 Aug 2020 05:49:47 +0000 (01:49 -0400)]
openssl: Fix wincrypt symbols conflict with BoringSSL
OpenSSL undefines the conflicting symbols but BoringSSL does not so we
must do it ourselves.
Reported-by: Samuel Tranchet
Assisted-by: Javier Blazquez
Ref: https://bugs.chromium.org/p/boringssl/issues/detail?id=371
Ref: https://github.com/openssl/openssl/blob/OpenSSL_1_1_1g/include/openssl/ossl_typ.h#L66-L73
Fixes https://github.com/curl/curl/issues/5669
Closes https://github.com/curl/curl/pull/5857
Daniel Stenberg [Fri, 14 Aug 2020 13:45:08 +0000 (15:45 +0200)]
socketpair: allow CURL_DISABLE_SOCKETPAIR
... to completely disable the use of socketpair
Closes #5850
Daniel Stenberg [Fri, 14 Aug 2020 13:43:41 +0000 (15:43 +0200)]
curl_get_line: build only if cookies or alt-svc are enabled
Closes #5851
fullincome [Wed, 26 Aug 2020 10:15:15 +0000 (13:15 +0300)]
schannel: fix memory leak when using get_cert_location
The get_cert_location function allocates memory only on success.
Previously get_cert_location was able to allocate memory and return
error. It wasn't obvious and in this case the memory wasn't
released.
Fixes #5855
Closes #5860
Emil Engler [Wed, 26 Aug 2020 10:00:30 +0000 (12:00 +0200)]
git: ignore libtests in 3XXX area
Currently the file tests/libtest/lib3010 is not getting
ignored by git. This fixes it by adding the 3XXX area to
the according .gitignore file.
Closes #5859
Emil Engler [Wed, 26 Aug 2020 11:33:42 +0000 (13:33 +0200)]
doh: add error message for DOH_DNS_NAME_TOO_LONG
When this error code was introduced in
b6a53fff6c1d07e8a9 , it was
forgotten to be added in the errors array and doh_strerror function.
Closes #5863
Daniel Stenberg [Wed, 26 Aug 2020 13:25:53 +0000 (15:25 +0200)]
ngtcp2: adapt to the new pkt_info arguments
Guidance-by: Tatsuhiro Tsujikawa
Closes #5864
Daniel Stenberg [Wed, 26 Aug 2020 13:55:40 +0000 (15:55 +0200)]
winbuild/README.md: make <options> visible
Follow-up to
be753add31c2d8c
Daniel Stenberg [Wed, 26 Aug 2020 10:59:05 +0000 (12:59 +0200)]
winbuild: convert the instruction text to README.md
Closes #5861
Daniel Stenberg [Tue, 25 Aug 2020 07:56:52 +0000 (09:56 +0200)]
lib1560: verify "redirect" to double-slash leading URL
Closes #5849
Marc Hoersken [Sun, 26 Jul 2020 19:26:46 +0000 (21:26 +0200)]
multi: expand pre-check for socket readiness
Check readiness of all sockets before waiting on them
to avoid locking in case the one-time event FD_WRITE
was already consumed by a previous wait operation.
More information about WinSock network events:
https://docs.microsoft.com/en-us/windows/win32/api/
winsock2/nf-winsock2-wsaeventselect#return-value
Closes #5634
rcombs [Wed, 13 May 2020 23:49:57 +0000 (18:49 -0500)]
multi: implement wait using winsock events
This avoids using a pair of TCP ports to provide wakeup functionality
for every multi instance on Windows, where socketpair() is emulated
using a TCP socket on loopback which could in turn lead to socket
resource exhaustion.
A previous version of this patch failed to account for how in WinSock,
FD_WRITE is set only once when writing becomes possible and not again
until after a send has failed due to the buffer filling. This contrasts
to how FD_READ and FD_OOB continue to be set until the conditions they
refer to no longer apply. This meant that if a user wrote some data to
a socket, but not enough data to completely fill its send buffer, then
waited on that socket to become writable, we'd erroneously stall until
their configured timeout rather than returning immediately.
This version of the patch addresses that issue by checking each socket
we're waiting on to become writable with select() before the wait, and
zeroing the timeout if it's already writable.
Assisted-by: Marc Hörsken
Reviewed-by: Marcel Raad
Reviewed-by: Daniel Stenberg
Tested-by: Gergely Nagy
Tested-by: Rasmus Melchior Jacobsen
Tested-by: Tomas Berger
Replaces #5397
Reverts #5632
Closes #5634
Marc Hoersken [Sun, 19 Apr 2020 18:27:38 +0000 (20:27 +0200)]
select: reduce duplication of Curl_poll in Curl_socket_check
Change Curl_socket_check to use select-fallback in Curl_poll
instead of implementing it in Curl_socket_check and Curl_poll.
Reviewed-by: Daniel Stenberg
Reviewed-by: Jay Satiro
Replaces #5262 and #5492
Closes #5707
Marc Hoersken [Tue, 21 Jul 2020 18:17:01 +0000 (20:17 +0200)]
select: fix poll-based check not detecting connect failure
This commit changes Curl_socket_check to use POLLPRI to
check for connect failure on the write socket, because
POLLPRI maps to fds_err. This is in line with select(2).
The select-based socket check correctly checks for connect
failures by adding the write socket also to fds_err.
The poll-based implementation (which internally can itself
fallback to select again) did not previously check for
connect failure by using POLLPRI with the write socket.
See the follow up commit to this for more information.
This commit makes sure connect failures can be detected
and handled if HAVE_POLL_FINE is defined, eg. on msys2-devel.
Reviewed-by: Daniel Stenberg
Reviewed-by: Jay Satiro
Replaces #5509
Prepares #5707
Marc Hoersken [Mon, 3 Aug 2020 13:54:08 +0000 (15:54 +0200)]
select.h: make socket validation macros test for INVALID_SOCKET
With Winsock the valid range is [0..INVALID_SOCKET-1] according to
https://docs.microsoft.com/en-us/windows/win32/winsock/socket-data-type-2
Reviewed-by: Jay Satiro
Reviewed-by: Marcel Raad
Reviewed-by: Daniel Stenberg
Closes #5760
Daniel Stenberg [Mon, 24 Aug 2020 20:49:32 +0000 (22:49 +0200)]
docs: --output-dir is added in 7.73.0, nothing else
Follow-up to
5620d2cc78c0
Daniel Stenberg [Mon, 24 Aug 2020 06:31:36 +0000 (08:31 +0200)]
curl: add --output-dir
Works with --create-dirs and with -J
Add test 3008, 3009, 3011, 3012 and 3013 to verify.
Closes #5637
Daniel Stenberg [Mon, 24 Aug 2020 14:28:34 +0000 (16:28 +0200)]
configure: fix pkg-config detecting wolfssl
When amending the include path with "/wolfssl", this now properly strips
off all whitespace from the path variable! Previously this would lead to
pkg-config builds creating bad command lines.
Closes #5848
Michael Musset [Wed, 15 Jul 2020 14:39:40 +0000 (16:39 +0200)]
sftp: add the option CURLKHSTAT_FINE_REPLACE
Replace the old fingerprint of the host with a new.
Closes #5685
Daniel Stenberg [Mon, 24 Aug 2020 14:59:50 +0000 (16:59 +0200)]
RELEASE-NOTES: synced
The next release is now to become 7.73.0
Daniel Stenberg [Mon, 24 Aug 2020 07:31:39 +0000 (09:31 +0200)]
checksrc: verify do-while and spaces between the braces
Updated mprintf.c to comply
Closes #5845
Daniel Stenberg [Fri, 21 Aug 2020 21:40:12 +0000 (23:40 +0200)]
curl: support XDG_CONFIG_HOME to find .curlrc
Added test433 to verify. Updated documentation.
Reviewed-by: Jay Satiro
Suggested-by: Eli Schwartz
Fixes #5829
Closes #5837
Daniel Stenberg [Wed, 19 Aug 2020 22:34:44 +0000 (00:34 +0200)]
etag: save and use the full received contents
... which makes it support weak tags and non-standard etags too!
Added test case 347 to verify blank incoming ETag:
Fixes #5610
Closes #5833
Daniel Stenberg [Fri, 21 Aug 2020 14:19:27 +0000 (16:19 +0200)]
setopt: if the buffer exists, refuse the new BUFFERSIZE
The buffer only exists during transfer and then we shouldn't change the
size (the setopt is not documented to work then).
Reported-by: Harry Sintonen
Closes #5842
COFFEETALES [Thu, 13 Aug 2020 23:38:49 +0000 (01:38 +0200)]
sftp: add new quote commands 'atime' and 'mtime'
Closes #5810
Daniel Stenberg [Mon, 24 Aug 2020 06:39:29 +0000 (08:39 +0200)]
CURLE_PROXY: new error code
Failures clearly returned from a (SOCKS) proxy now causes this return
code. Previously the situation was not very clear as what would be
returned and when.
In addition: when this error code is returned, an application can use
CURLINFO_PROXY_ERROR to query libcurl for the detailed error, which then
returns a value from the new 'CURLproxycode' enum.
Closes #5770
Daniel Stenberg [Fri, 21 Aug 2020 14:35:50 +0000 (16:35 +0200)]
runtests: make cleardir() erase dot files too
Because test cases might use dot files.
Closes #5838
Daniel Stenberg [Sat, 22 Aug 2020 21:50:14 +0000 (23:50 +0200)]
KNOWN_BUGS: 'no_proxy' string-matches IPv6 numerical addreses
Also: the current behavior is now documented in the curl.1 and
CURLOPT_NOPROXY.3 man pages.
Reported-by: Andrew Barnes
Closes #5745
Closes #5841
Viktor Szakats [Sat, 22 Aug 2020 21:06:06 +0000 (21:06 +0000)]
Makefile.m32: add ability to override zstd libs [ci skip]
Similarly to brotli, where this was already possible.
E.g. it allows to link zstd statically to libcurl.dll.
Ref: https://github.com/curl/curl-for-win/issues/12
Ref: https://github.com/curl/curl-for-win/commit/
d9b266afd2e5d3f5604483010ef62340b5918c89
Closes https://github.com/curl/curl/pull/5840
Daniel Stenberg [Fri, 21 Aug 2020 06:19:14 +0000 (08:19 +0200)]
runtests: avoid 'fail to start' repeated messages in attempt loops
Closes #5834
Daniel Stenberg [Wed, 19 Aug 2020 22:57:43 +0000 (00:57 +0200)]
runtests: clear pid variables when failing to start a server
... as otherwise the parent doesn't detect the failure and believe it
actually worked to start.
Reported-by: Christian Weisgerber
Bug: https://curl.haxx.se/mail/lib-2020-08/0018.html
Closes #5834
Daniel Stenberg [Fri, 21 Aug 2020 08:06:31 +0000 (10:06 +0200)]
TODO: Virtual external sockets
Closes #5835
Don [Thu, 20 Aug 2020 17:41:39 +0000 (10:41 -0700)]
dist: add missing CMake Find modules to the distribution
Closes #5836
Daniel Stenberg [Wed, 19 Aug 2020 21:43:52 +0000 (23:43 +0200)]
RELEASE-NOTES: synced
... and version bumped to 7.72.1
Daniel Stenberg [Mon, 17 Aug 2020 22:22:34 +0000 (00:22 +0200)]
tls: provide the CApath verbose log on its own line
... not newline separated from the previous line. This makes it output
asterisk prefixed properly like other verbose putput!
Reported-by: jmdavitt on github
Fixes #5826
Closes #5827
Daniel Stenberg [Wed, 19 Aug 2020 07:37:28 +0000 (09:37 +0200)]
RELEASE-NOTES: synced
The curl 7.72.0 release
Daniel Stenberg [Wed, 19 Aug 2020 07:37:27 +0000 (09:37 +0200)]
THANKS: add names from curl 7.72.0 release
Jay Satiro [Tue, 18 Aug 2020 07:24:38 +0000 (03:24 -0400)]
KNOWN_BUGS: Schannel TLS 1.2 handshake bug in old Windows versions
Reported-by: plujon@users.noreply.github.com
Closes https://github.com/curl/curl/issues/5488
Daniel Stenberg [Sun, 16 Aug 2020 09:34:35 +0000 (11:34 +0200)]
Curl_easy: remember last connection by id, not by pointer
CVE-2020-8231
Bug: https://curl.haxx.se/docs/CVE-2020-8231.html
Reported-by: Marc Aldorasi
Closes #5824
Daniel Stenberg [Sun, 16 Aug 2020 22:34:08 +0000 (00:34 +0200)]
examples/rtsp.c: correct the copyright year
Daniel Stenberg [Mon, 17 Aug 2020 08:44:10 +0000 (10:44 +0200)]
RELEASE-PROCEDURE.md: add more future release dates
H3RSKO [Sun, 16 Aug 2020 20:36:10 +0000 (16:36 -0400)]
docs: change "web site" to "website"
According to wikipedia:
While "web site" was the original spelling, this variant has become
rarely used, and "website" has become the standard spelling
Closes #5822
Bevan Weiss [Sat, 15 Aug 2020 09:02:44 +0000 (19:02 +1000)]
CMake: don't complain about missing nroff
The curl_nroff_check() was always being called, and complaining if
*NROFF wasn't found, even when not making the manual.
Only check for nroff (and complain) if actually making the manual
Closes #5817
Brian Inglis [Sat, 15 Aug 2020 21:57:30 +0000 (15:57 -0600)]
libtest/Makefile.am: add -no-undefined for libstubgss for Cygwin
copy the LDFLAGS approach for adding same option with `libhostname` in
`libtest/Makefile.am`:
- init `libstubgss_la_LDFLAGS_EXTRA` variable,
- add option to variable inside conditional,
- use variable in `libstubgss_la_LDFLAGS`
Fixes #5819
Closes #5820
Daniel Stenberg [Fri, 14 Aug 2020 14:49:42 +0000 (16:49 +0200)]
docs: clarify MAX_SEND/RECV_SPEED functionality
... in particular what happens if the maximum speed limit is set to a
value that's smaller than the transfer buffer size in use.
Reported-by: Tomas Berger
Fixes #5788
Closes #5813
Daniel Stenberg [Fri, 14 Aug 2020 15:48:43 +0000 (17:48 +0200)]
test1140: compare stdout
To make problems more immediately obvious when tests fail.
Closes #5814
Daniel Stenberg [Fri, 14 Aug 2020 14:28:29 +0000 (16:28 +0200)]
asyn-ares: correct some bad comments
Closes #5812
Emil Engler [Fri, 14 Aug 2020 06:50:15 +0000 (08:50 +0200)]
docs: Add video link to docs/CONTRIBUTE.md
Closes #5811
Daniel Stenberg [Thu, 13 Aug 2020 10:00:31 +0000 (12:00 +0200)]
curl-config: ignore REQUIRE_LIB_DEPS in --libs output
Fixes a curl-config issue on cygwin by making sure REQUIRE_LIB_DEPS is
not considered for the --libs output.
Reported-by: ramsay-jones on github
Assisted-by: Brian Inglis and Ken Brown
Fixes #5793
Closes #5808
Daniel Stenberg [Fri, 14 Aug 2020 08:20:27 +0000 (10:20 +0200)]
copyright: update/correct the year range on a few files
Daniel Stenberg [Fri, 14 Aug 2020 08:20:05 +0000 (10:20 +0200)]
scripts/copyright.pl: ignore .muse files
Emil Engler [Wed, 12 Aug 2020 09:58:11 +0000 (11:58 +0200)]
multi: Remove 10-year old out-commented code
The code hasn't been touched since 2010-08-18
Closes #5805
Daniel Stenberg [Tue, 11 Aug 2020 13:43:42 +0000 (15:43 +0200)]
KNOWN_BUGS: A shared connection cache is not thread-safe
Closes #4915
Closes #5802
Daniel Stenberg [Tue, 11 Aug 2020 14:49:57 +0000 (16:49 +0200)]
CONTRIBUTE: extend git commit message description
In particular how the first line works.
Closes #5803
Daniel Stenberg [Tue, 11 Aug 2020 07:41:37 +0000 (09:41 +0200)]
RELEASE-NOTES: synced
Stefan Yohansson [Mon, 10 Aug 2020 12:16:37 +0000 (13:16 +0100)]
transfer: move retrycount from connect struct to easy handle
This flag was applied to the connection struct that is released on
retry. These changes move the retry counter into Curl_easy struct that
lives across retries and retains the new connection.
Reported-by: Cherish98 on github
Fixes #5794
Closes #5800
Daniel Stenberg [Mon, 10 Aug 2020 10:59:16 +0000 (12:59 +0200)]
libssh2: s/ssherr/sftperr/
The debug output used ssherr instead of sftperr which not only outputs
the wrong error code but also casues a warning on Windows.
Follow-up to
7370b4e39f1
Reported-by: Gisle Vanem
Bug: https://github.com/curl/curl/commit/
7370b4e39f1390e701f5b68d910c619151daf72b #r41334700
Closes #5799
Daniel Stenberg [Mon, 10 Aug 2020 08:56:20 +0000 (10:56 +0200)]
ftp: don't do ssl_shutdown instead of ssl_close
The shutdown function is for downgrading a connection from TLS to plain,
and this is not requested here.
Have ssl_close reset the TLS connection state.
This partially reverts commit
f002c850d98d
Reported-by: Rasmus Melchior Jacobsen
Reported-by: Denis Goleshchikhin
Fixes #5797
Marc Hoersken [Sun, 9 Aug 2020 13:56:59 +0000 (15:56 +0200)]
CI/azure: fix test outcome values and use latest API version
This makes sure that tests ignored or skipped are not shown
just in the category "Other", but with their correct state.
Closes #5796
Marc Hoersken [Wed, 5 Aug 2020 13:07:30 +0000 (15:07 +0200)]
CI/azure: show runtime stats to investigate slowness
Also avoid naming conflict of TFLAGS env and tflags variables.
Closes #5776
Daniel Stenberg [Fri, 7 Aug 2020 15:11:52 +0000 (17:11 +0200)]
TLS naming: fix more Winssl and Darwinssl leftovers
The CMake option is now called CMAKE_USE_SCHANNEL
The winbuild flag is USE_SCHANNEL
The CI jobs and build scripts only use the new names and the new name
options
Tests now require 'Schannel' (when necessary)
Closes #5795
Daniel Stenberg [Thu, 6 Aug 2020 22:15:12 +0000 (00:15 +0200)]
smtp_parse_address: handle blank input string properly
Closes #5792
Daniel Stenberg [Wed, 5 Aug 2020 13:11:22 +0000 (15:11 +0200)]
runtests: run the DICT server on a random port number
Removed support for -b (base port number)
Closes #5783
Daniel Stenberg [Thu, 6 Aug 2020 21:56:31 +0000 (23:56 +0200)]
RELEASE-NOTES: synced
Daniel Stenberg [Wed, 5 Aug 2020 13:39:34 +0000 (15:39 +0200)]
runtests: move the TELNET server to a dynamic port
Rename the port variable to TELNETPORT to better match the existing
pattern.
Closes #5785
Daniel Stenberg [Wed, 5 Aug 2020 16:12:36 +0000 (18:12 +0200)]
ngtcp2: adapt to error code rename
Closes #5786
Daniel Stenberg [Wed, 5 Aug 2020 13:03:46 +0000 (15:03 +0200)]
runtests: move the smbserver to use a dynamic port number
Closes #5782
Daniel Stenberg [Tue, 4 Aug 2020 16:08:34 +0000 (18:08 +0200)]
runtests: run the http2 tests on a random port number
Closes #5779
Daniel Stenberg [Wed, 5 Aug 2020 08:54:39 +0000 (10:54 +0200)]
gtls: survive not being able to get name/issuer
Closes #5778
Daniel Stenberg [Tue, 4 Aug 2020 15:47:09 +0000 (17:47 +0200)]
runtests: move the gnutls-serv tests to a dynamic port
Affects test 320, 321, 322 and 324.
Closes #5778