]>
git.ipfire.org Git - thirdparty/curl.git/log
José Joaquín Atria [Mon, 26 Oct 2020 09:36:16 +0000 (09:36 +0000)]
range.d: clarify that curl will not parse multipart responses
Closes #6127
Fixes #6124
Daniel Stenberg [Mon, 26 Oct 2020 08:27:29 +0000 (09:27 +0100)]
RELEASE-NOTES: synced
Baruch Siach [Mon, 26 Oct 2020 04:56:49 +0000 (06:56 +0200)]
libssh2: fix build with disabled proxy support
Build breaks because the http_proxy field is missing:
vssh/libssh2.c:3119:10: error: 'struct connectdata' has no member named 'http_proxy'
Regression from #6021, shipped in curl 7.73.0
Closes #6125
Daniel Stenberg [Sun, 25 Oct 2020 22:08:54 +0000 (23:08 +0100)]
alt-svc: enable by default
Remove CURLALTSVC_IMMEDIATELY, which was never implemented/supported.
alt-svc support in curl is no longer considered experimental
Closes #5868
Daniel Stenberg [Sun, 25 Oct 2020 11:07:00 +0000 (12:07 +0100)]
CI/appveyor: remove (unused) runtests.pl -b option
Emil Engler [Thu, 22 Oct 2020 15:23:36 +0000 (17:23 +0200)]
tool_help: make "output" description less confusing
Currently the description of "output" is misleading when comparing it
"verbose".
Closes #6118
Daniel Stenberg [Thu, 22 Oct 2020 17:36:24 +0000 (19:36 +0200)]
CI/appveyor: disable test 571 in two cmake builds
... they're simply too flaky there.
Closes #6119
Daniel Stenberg [Thu, 22 Oct 2020 12:49:19 +0000 (14:49 +0200)]
cmake: set the unicode feature in curl-config on Windows
... if built that way. To make it match curl -V output.
Reviewed-by: Marcel Raad
Closes #6117
Daniel Stenberg [Thu, 22 Oct 2020 10:29:21 +0000 (12:29 +0200)]
libssh2: require version 1.0 or later
... and simplify the code accordingly. libssh2 version 1.0 was released
in April 2009.
Closes #6116
Daniel Stenberg [Wed, 21 Oct 2020 06:25:19 +0000 (08:25 +0200)]
KNOWN_BUGS: mention the individual cmake issues
... to make them easier to refer to and address separately and
one-by-one.
Daniel Stenberg [Tue, 20 Oct 2020 08:29:53 +0000 (10:29 +0200)]
CMake: store IDN2 information in curl_config.h
This allows the build to enable IDN properly and it makes test 1014
happier.
Ref: #6074
Closes #6108
Daniel Stenberg [Tue, 20 Oct 2020 08:28:01 +0000 (10:28 +0200)]
CMake: call the feature unixsockets without dash
... so that curl-config gets correct and makes test 1014 happy!
Ref: #6074
Closes #6108
Daniel Stenberg [Mon, 19 Oct 2020 09:13:05 +0000 (11:13 +0200)]
CI/travis: add brotli and zstd to the libssh2 build
... to make sure such tests are run with valgrind. Suppress the zstd
valgrind warnings we get with version 1.3.3 on Ubuntu 18.04 (for debug
and non-debug builds).
Closes #6105
Daniel Stenberg [Mon, 19 Oct 2020 09:50:08 +0000 (11:50 +0200)]
runtests: revert the mistaken edit of $CURL
Regression from
c4693adc62
Daniel Stenberg [Mon, 19 Oct 2020 07:14:47 +0000 (09:14 +0200)]
RELEASE-NOTES: synced
Daniel Stenberg [Sun, 18 Oct 2020 21:02:57 +0000 (23:02 +0200)]
curl_url_set.3: fix typo in the RETURN VALUE section
Reported-by: Basuke Suzuki
Fixes #6102
Daniel Stenberg [Thu, 15 Oct 2020 08:07:00 +0000 (10:07 +0200)]
packages/OS400: make the source code-style compliant
... and make sure 'make checksrc' in the root dir also verifies the
packages/OS400 sources.
Closes https://github.com/curl/curl/pull/6085
Jay Satiro [Thu, 15 Oct 2020 07:32:30 +0000 (03:32 -0400)]
os400: Sync libcurl API options
This fixes the OS400 build and also an incorrect entry for
CURLINFO_APPCONNECT_TIME_T where it was treated as
CURLINFO_STARTTRANSFER_TIME_T.
Reported-by: Jon Rumsey
Fixes https://github.com/curl/curl/issues/6083
Closes https://github.com/curl/curl/pull/6084
Daniel Stenberg [Fri, 16 Oct 2020 21:01:55 +0000 (23:01 +0200)]
CURLOPT_NOBODY.3: fix typo
Reported-by: Basuke Suzuki
Fixes #6097
Marc Hoersken [Mon, 12 Oct 2020 04:23:25 +0000 (06:23 +0200)]
CI/azure: improve on flakiness by avoiding libtool wrappers
Install curl binaries into MinGW bin folder and use that
for the tests in order to avoid libtool wrapper binaries.
The libtool wrapper binaries (not scripts) on Windows seem
to be one of the possible causes for the following issues:
1. Process output can be lost in the wrapper process chain.
2. Killing the wrapper process does not kill the actual one.
Derived from #5904
Closes #6049
Daniel Stenberg [Fri, 16 Oct 2020 13:36:01 +0000 (15:36 +0200)]
CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as well
Zenju [Fri, 16 Oct 2020 12:44:34 +0000 (14:44 +0200)]
CURLOPT_TCP_NODELAY.3: fix comment in example code
Closes #6096
Daniel Stenberg [Thu, 15 Oct 2020 20:56:13 +0000 (22:56 +0200)]
openssl: acknowledge SRP disabling in configure properly
Follow-up to
68a513247409
Use a new separate define that is the combination of both
HAVE_OPENSSL_SRP and USE_TLS_SRP: USE_OPENSSL_SRP
Bug: https://curl.haxx.se/mail/lib-2020-10/0037.html
Closes #6094
Viktor Szakats [Fri, 16 Oct 2020 07:15:48 +0000 (07:15 +0000)]
http3: fix two build errors, silence warnings
* fix two build errors due to mismatch between function
declarations and their definitions
* silence two mismatched signs warnings via casts
Approved-by: Daniel Stenberg
Closes #6093
Viktor Szakats [Fri, 16 Oct 2020 07:15:19 +0000 (07:15 +0000)]
Makefile.m32: add support for HTTP/3 via ngtcp2+nghttp3
Approved-by: Daniel Stenberg
Closes #6092
Daniel Stenberg [Thu, 15 Oct 2020 20:57:27 +0000 (22:57 +0200)]
tool_operate: fix compiler warning when --libcurl is disabled
Closes #6095
Daniel Stenberg [Thu, 15 Oct 2020 13:30:55 +0000 (15:30 +0200)]
checksrc: warn on empty line before open brace
... and fix a few occurances
Closes #6088
Daniel Stenberg [Thu, 15 Oct 2020 10:22:27 +0000 (12:22 +0200)]
urlapi: URL encode a '+' in the query part
... when asked to with CURLU_URLENCODE.
Extended test 1560 to verify.
Reported-by: Dietmar Hauser
Fixes #6086
Closes #6087
Cristian Morales Vega [Sun, 11 Oct 2020 22:46:53 +0000 (23:46 +0100)]
libcurl.pc: make it relocatable
It supposes when people specify the libdir/includedir they do it to
change where under prefix/exec_prefix it should be, not to make it
independent of prefix/exec_prefix.
Closes #6061
Daniel Stenberg [Wed, 7 Oct 2020 22:13:07 +0000 (00:13 +0200)]
runtests: return error if no tests ran
... and make TESTFAIL stand out a little better by adding newlines
before and after.
Reported-by: Marc Hörsken
Issue: #6052
Closes #6053
Daniel Stenberg [Tue, 13 Oct 2020 15:34:40 +0000 (17:34 +0200)]
docs/FEATURE: convert to markdown
... and clean it up a bit.
Closes #6067
Philipp Klaus Krause [Tue, 13 Oct 2020 16:35:50 +0000 (18:35 +0200)]
strerror: use 'const' as the string should never be modified
Closes #6068
Jay Satiro [Thu, 15 Oct 2020 06:47:49 +0000 (02:47 -0400)]
connect: repair build without ipv6 availability
Assisted-by: Daniel Stenberg
Reported-by: Tom G. Christensen
Fixes https://github.com/curl/curl/issues/6069
Closes https://github.com/curl/curl/pull/6071
Daniel Stenberg [Thu, 15 Oct 2020 10:52:34 +0000 (12:52 +0200)]
RELEASE-NOTES: synced
Started over for the journey to next release.
Daniel Stenberg [Thu, 15 Oct 2020 08:14:10 +0000 (10:14 +0200)]
src/tool_filetime: disable -Wformat on mingw for this file
With gcc 10 on mingw we otherwise get this warning:
error: ISO C does not support the 'I' printf flag [-Werror=format=]
Fixes #6079
Closes #6082
Daniel Stenberg [Wed, 14 Oct 2020 21:49:00 +0000 (23:49 +0200)]
test122[12]: remove these two tests
... and remove the objnames scripts they tested. They're not used for
anything anymore so testing them serves no purpose!
Reported-by: Marc Hörsken
Fixes #6080
Closes #6081
Daniel Stenberg [Sun, 11 Oct 2020 21:49:49 +0000 (23:49 +0200)]
RELEASE-NOTES: synced
for 7.73.0
Daniel Stenberg [Sun, 11 Oct 2020 21:51:21 +0000 (23:51 +0200)]
THANKS: from 7.73.0 and .mailmap fixes
Daniel Stenberg [Fri, 4 Sep 2020 13:28:49 +0000 (15:28 +0200)]
mailmap: fixups of some contributors
Daniel Stenberg [Wed, 14 Oct 2020 05:49:57 +0000 (07:49 +0200)]
projects/build-wolfssl.bat: fix the copyright year range
Sergei Nikulov [Mon, 12 Oct 2020 19:44:37 +0000 (22:44 +0300)]
CI/tests: fix invocation of tests for CMake builds
Update appveyor.yml to set env variable TFLAGS and run tests
Remove curly braces due to CMake error (${TFLAGS} -> $TFLAGS)
Move testdeps build to build step (per review comments)
Reviewed-by: Marc Hörsken
Closes #6066
Fixes #6052
Marc Hoersken [Tue, 13 Oct 2020 18:23:40 +0000 (20:23 +0200)]
tests/server/util.c: fix support for Windows Unicode builds
Detected via #6066
Closes #6070
Jay Satiro [Tue, 13 Oct 2020 07:22:55 +0000 (03:22 -0400)]
strerror: Revert to local codepage for Windows error string
- Change get_winapi_error() to return the error string in the local
codepage instead of UTF-8 encoding.
Two weeks ago
bed5f84 fixed get_winapi_error() to work on xbox, but it
also changed the error string's encoding from local codepage to UTF-8.
We return the local codepage version of the error string because if it
is output to the user's terminal it will likely be with functions which
expect the local codepage (eg fprintf, failf, infof).
This is essentially a partial revert of
bed5f84 . The support for xbox
remains but the error string is reverted back to local codepage.
Ref: https://github.com/curl/curl/pull/6005
Reviewed-by: Marcel Raad
Closes #6065
Marc Hoersken [Mon, 12 Oct 2020 04:52:40 +0000 (06:52 +0200)]
CI/tests: use verification curl for test reporting APIs
Avoid using our own, potentially installed, curl for
the test reporting APIs in case it is broken.
Reviewed-by: Daniel Stenberg
Preparation for #6049
Closes #6063
Viktor Szakats [Mon, 12 Oct 2020 10:18:53 +0000 (10:18 +0000)]
windows: fix comparison of mismatched types warning
clang 10, mingw-w64:
```
vtls/openssl.c:2917:33: warning: comparison of integers of different signs: 'DWORD' (aka 'unsigned long') and 'HRESULT' (aka 'long')
[-Wsign-compare]
if(GetLastError() != CRYPT_E_NOT_FOUND)
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
```
Approved-by: Daniel Stenberg
Closes #6062
Viktor Szakats [Sun, 11 Oct 2020 19:30:45 +0000 (19:30 +0000)]
src/Makefile.m32: fix undefined curlx_dyn_* errors
by linking `lib/dynbuf.c` when building a static curl binary.
Previously this source file was only included when building
a dynamic curl binary. This was likely possibly because no
functions from the `src/Makefile.inc` / `CURLX_CFILES` sources
were actually required for a curl tool build. This has
recently changed with the introduction of `curlx_dyn_*()`
memory functions and their use by the tool sources.
Closes #6060
Daniel Stenberg [Fri, 9 Oct 2020 15:29:33 +0000 (17:29 +0200)]
HISTORY: curl verifies SSL certs by default since version 7.10
Marc Hoersken [Wed, 7 Oct 2020 19:53:26 +0000 (21:53 +0200)]
runtests.pl: use $LIBDIR variable instead of hardcoded path
Reviewed-by: Daniel Stenberg
Closes #6051
Daniel Stenberg [Wed, 7 Oct 2020 07:11:03 +0000 (09:11 +0200)]
checksrc: detect // comments on column 0
Spotted while working on #6045
Closes #6048
Frederik Wedel-Heinen [Tue, 6 Oct 2020 08:41:28 +0000 (10:41 +0200)]
mbedtls: add missing header when defining MBEDTLS_DEBUG
Closes #6045
Daniel Stenberg [Sun, 4 Oct 2020 21:05:21 +0000 (23:05 +0200)]
curl: make sure setopt CURLOPT_IPRESOLVE passes on a long
Previously, it would pass on a define (int) which could make libcurl
read junk as a value - which prevented the CURLOPT_IPRESOLVE option to
"take". This could then make test 2100 do two DoH requests instead of
one!
Fixes #6042
Closes #6043
Daniel Stenberg [Mon, 5 Oct 2020 06:33:44 +0000 (08:33 +0200)]
RELEASE-NOTES: synced
Daniel Stenberg [Mon, 5 Oct 2020 06:29:28 +0000 (08:29 +0200)]
scripts/release-notes.pl: don't "embed" $ in format string for printf()
... since they might contain %-codes that mess up the output!
M.R.T [Fri, 2 Oct 2020 02:18:36 +0000 (05:48 +0330)]
build-wolfssl: fix build with Visual Studio 2019
Closes https://github.com/curl/curl/pull/6033
Daniel Stenberg [Sat, 3 Oct 2020 22:03:02 +0000 (00:03 +0200)]
runtests: add %repeat[]% for test files
... and use this new keywords in all the test files larger than 50K to reduce
their sizes and make them a lot easier to read and understand.
Closes #6040
Emil Engler [Sat, 3 Oct 2020 07:13:34 +0000 (09:13 +0200)]
--help: move two options from the misc category
The cmdline opts delegation and suppress-connect-headers
fit better into auth and proxy rather than misc.
Follow-up to
aa8777f63febc
Closes #6038
Samanta Navarro [Sat, 3 Oct 2020 11:51:02 +0000 (11:51 +0000)]
docs/opts: fix typos in two manual pages
Closes #6039
Daniel Stenberg [Fri, 2 Oct 2020 09:18:21 +0000 (11:18 +0200)]
ldap: reduce the amount of #ifdefs needed
Closes #6035
Daniel Stenberg [Fri, 2 Oct 2020 11:45:24 +0000 (13:45 +0200)]
runtests: provide curl's version string as %VERSION for tests
... so that we can check HTTP requests for User-Agent: curl/%VERSION
Update 600+ test cases accordingly.
Closes #6037
Daniel Stenberg [Fri, 2 Oct 2020 08:58:52 +0000 (10:58 +0200)]
checksrc: warn on space after exclamation mark
Closes #6034
Daniel Stenberg [Thu, 1 Oct 2020 22:12:41 +0000 (00:12 +0200)]
test1465: verify --libcurl with binary POST data
Daniel Stenberg [Thu, 1 Oct 2020 22:11:13 +0000 (00:11 +0200)]
runtests: allow generating a binary sequence from hex
Daniel Stenberg [Thu, 1 Oct 2020 22:07:41 +0000 (00:07 +0200)]
tool_setopt: escape binary data to hex, not octal
Daniel Stenberg [Thu, 1 Oct 2020 20:59:30 +0000 (22:59 +0200)]
curl: make --libcurl show binary posts correctly
Reported-by: Stephan Mühlstrasser
Fixes #6031
Closes #6032
Jay Satiro [Thu, 1 Oct 2020 17:34:59 +0000 (13:34 -0400)]
strerror: fix null deref on winapi out-of-memory
Follow-up to
bed5f84 from several days ago.
Ref: https://github.com/curl/curl/pull/6005
Kamil Dudka [Mon, 27 Jul 2020 13:44:01 +0000 (15:44 +0200)]
vtls: deduplicate some DISABLE_PROXY ifdefs
... in the code of gtls, nss, and openssl
Closes #5735
Daniel Stenberg [Thu, 1 Oct 2020 07:19:11 +0000 (09:19 +0200)]
RELEASE-NOTES: synced
Emil Engler [Wed, 30 Sep 2020 17:31:07 +0000 (19:31 +0200)]
TODO: Add OpenBSD libtool notice
See #5862
Closes #6030
Daniel Stenberg [Wed, 30 Sep 2020 13:12:06 +0000 (15:12 +0200)]
tests/unit/README: convert to markdown
... and add to dist!
Closes #6028
Daniel Stenberg [Wed, 30 Sep 2020 13:07:59 +0000 (15:07 +0200)]
tests/README: convert to markdown
Closes #6028
Daniel Stenberg [Wed, 30 Sep 2020 12:57:38 +0000 (14:57 +0200)]
include/README: convert to markdown
Closes #6028
Daniel Stenberg [Wed, 30 Sep 2020 12:56:08 +0000 (14:56 +0200)]
examples/README: convert to markdown
Closes #6028
Daniel Stenberg [Wed, 30 Sep 2020 13:31:01 +0000 (15:31 +0200)]
configure: don't say HTTPS-proxy is enabled when disabled!
Reported-by: Kamil Dudka
Reviewed-by: Kamil Dudka
Bug: https://github.com/curl/curl/pull/5735#issuecomment-
701376388
Closes #6029
Daniel Gustafsson [Wed, 30 Sep 2020 19:10:14 +0000 (21:10 +0200)]
src: Consistently spell whitespace without whitespace
Whitespace is spelled without a space between white and space, so
make sure to consistently spell it that way across the codebase.
Closes #6023
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Reviewed-by: Emil Engler <me@emilengler.com>
Daniel Gustafsson [Wed, 30 Sep 2020 19:05:14 +0000 (21:05 +0200)]
MANUAL: update examples to resolve without redirects
www.netscape.com is redirecting to a cookie consent form on Aol, and
cool.haxx.se isn't responding to FTP anymore. Replace with examples
that resolves in case users try out the commands when reading the
manual.
Closes #6024
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Reviewed-by: Emil Engler <me@emilengler.com>
Daniel Stenberg [Wed, 30 Sep 2020 11:44:32 +0000 (13:44 +0200)]
HISTORY: add some 2020 events
Daniel Stenberg [Wed, 30 Sep 2020 07:12:49 +0000 (09:12 +0200)]
sectransp: make it build with --disable-proxy
Follow-up from #5466 and
f3d501dc678d80
Reported-by: Javier Navarro
Fixes #6025
Closes #6026
Daniel Stenberg [Tue, 29 Sep 2020 08:13:18 +0000 (10:13 +0200)]
ECH: renamed from ESNI in docs and configure
Encrypted Client Hello (ECH) is the current name.
Closes #6022
Daniel Stenberg [Tue, 29 Sep 2020 09:01:45 +0000 (11:01 +0200)]
configure: use "no" instead of "disabled" for the end summary
... for consistency but also to make them more distinctly stand out next
to the "enabled" lines.
Daniel Stenberg [Mon, 28 Sep 2020 20:47:50 +0000 (22:47 +0200)]
TODO: SSH over HTTPS proxy with more backends
... as right now only the libssh2 backend supports it.
Daniel Stenberg [Mon, 28 Sep 2020 12:02:27 +0000 (14:02 +0200)]
libssh2: handle the SSH protocols done over HTTPS proxy
Reported-by: Robin Douine
Fixes #4295
Closes #6021
Emil Engler [Thu, 17 Sep 2020 15:13:11 +0000 (17:13 +0200)]
memdebug: remove 9 year old unused debug function
There used to be a way to have memdebug fill allocated memory. 9 years
later this has no value there (valgrind and ASAN etc are way better). If
people need to know about it they can have a look at VCS logs.
Closes #5973
Daniel Stenberg [Mon, 28 Sep 2020 12:14:25 +0000 (14:14 +0200)]
sendf: move Curl_sendf to dict.c and make it static
... as the only remaining user of that function. Also fix gopher.c to
instead use Curl_write()
Closes #6020
Daniel Stenberg [Mon, 28 Sep 2020 15:03:20 +0000 (17:03 +0200)]
ROADMAP: updates and cleanups
Fix the HSTS PR
Remove DoT, thread-safe init and hard-coded localhost. I feel very
little interest for these with users so I downgrade them to plain "TODO"
entries again.
Daniel Stenberg [Mon, 28 Sep 2020 06:30:25 +0000 (08:30 +0200)]
schannel: return CURLE_PEER_FAILED_VERIFICATION for untrusted root
This matches what is returned in other TLS backends in the same
situation.
Reviewed-by: Jay Satiro
Reviewed-by: Emil Engler
Follow-up to
5a3efb1
Reported-by: iammrtau on github
Fixes #6003
Closes #6018
Daniel Stenberg [Sat, 26 Sep 2020 11:39:37 +0000 (13:39 +0200)]
RELEASE-NOTES: synced
Daniel Stenberg [Fri, 25 Sep 2020 15:13:42 +0000 (17:13 +0200)]
ftp: make a 552 response return CURLE_REMOTE_DISK_FULL
Added test 348 to verify. Added a 'STOR' command to the test FTP
server to enable test 348. Documented the command in FILEFORMAT.md
Reported-by: Duncan Wilcox
Fixes #6016
Closes #6017
Daniel Stenberg [Fri, 25 Sep 2020 07:45:35 +0000 (09:45 +0200)]
pause: only trigger a reread if the unpause sticks
As an unpause might itself get paused again and then triggering another
reread doesn't help.
Follow-up from
e040146f22608fd9 (shipped since 7.69.1)
Bug: https://curl.haxx.se/mail/lib-2020-09/0081.html
Patch-by: Kunal Chandarana
Fixes #5988
Closes #6013
Daniel Stenberg [Fri, 25 Sep 2020 11:01:46 +0000 (13:01 +0200)]
test163[12]: require http to be built-in to run
... as speaking over an HTTPS proxy implies http!
Closes #6014
Daniel Stenberg [Fri, 25 Sep 2020 06:17:49 +0000 (08:17 +0200)]
ngtcp2: adapt to new NGTCP2_PROTO_VER_MAX define
Closes #6012
Javier Blazquez [Thu, 24 Sep 2020 00:33:21 +0000 (17:33 -0700)]
strerror: honor Unicode API choice on Windows
Closes #6005
Daniel Stenberg [Thu, 24 Sep 2020 21:04:15 +0000 (23:04 +0200)]
imap: make imap_send use dynbuf for the send buffer management
Reuses the buffer and thereby reduces number of mallocs over a transfer.
Closes #6010
Daniel Stenberg [Thu, 24 Sep 2020 22:12:10 +0000 (00:12 +0200)]
Curl_send: return error when pre_receive_plain can't malloc
... will probably trigger some false DEAD CODE positives on non-windows
code analyzers for the conditional code.
Closes #6011
Daniel Stenberg [Mon, 21 Sep 2020 07:15:51 +0000 (09:15 +0200)]
ftp: separate FTPS from FTP over "HTTPS proxy"
When using HTTPS proxy, SSL is used but not in the view of the FTP
protocol handler itself so separate the connection's use of SSL from the
FTP control connection's sue.
Reported-by: Mingtao Yang
Fixes #5523
Closes #6006
Dan Fandrich [Wed, 23 Sep 2020 21:53:08 +0000 (14:53 -0700)]
tests/data: Fix some mismatched XML tags in test cases
This allows these test files to pass xmllint.
Daniel Stenberg [Wed, 23 Sep 2020 07:22:02 +0000 (09:22 +0200)]
pingpong: use a dynbuf for the *_pp_sendf() function
... reuses the same dynamic buffer instead of doing repeated malloc/free
cycles.
Test case 100 (FTP dir list PASV) does 7 fewer memory allocation calls
after this change in my test setup (132 => 125), curl 7.72.0 needed 140
calls for this.
Test case 103 makes 9 less allocations now (130). Down from 149 in
7.72.0.
Closes #6004
Daniel Stenberg [Wed, 23 Sep 2020 07:21:36 +0000 (09:21 +0200)]
dynbuf: add Curl_dyn_vaddf
Closes #6004
Daniel Stenberg [Tue, 22 Sep 2020 15:28:34 +0000 (17:28 +0200)]
dynbuf: make *addf() not require extra mallocs
... by introducing a printf() function that appends directly into a
dynbuf: Curl_dyn_vprintf(). This avoids the mandatory extra malloc so if
the buffer is already big enough it can just printf directly into it.
Since this less-malloc version requires tthe use of a library internal
printf function, we only provide this version when building libcurl and
not for the dynbuf code that is used when building the curl tool.
Closes #5998
Daniel Stenberg [Wed, 23 Sep 2020 06:50:52 +0000 (08:50 +0200)]
KNOWN_BUGS: Unable to use PKCS12 certificate with Secure Transport
Closes #5403
Daniel Stenberg [Tue, 22 Sep 2020 14:26:50 +0000 (16:26 +0200)]
pingpong: remove a malloc per Curl_pp_vsendf call
This typically makes 7-9 fewer mallocs per FTP transfer.
Closes #5997