]> git.ipfire.org Git - thirdparty/curl.git/log
thirdparty/curl.git
4 years agotests/server/tftpd.c: close upload file right after transfer
Marc Hoersken [Fri, 20 Nov 2020 07:13:47 +0000 (08:13 +0100)] 
tests/server/tftpd.c: close upload file right after transfer

Make sure uploaded file is no longer locked after the
transfer while waiting for the final ACK to be handled.

Assisted-by: Daniel Stenberg
Bug: #6058
Closes #6209

4 years agoCI/cirrus: simplify logic for disabled tests
Marc Hoersken [Fri, 20 Nov 2020 07:20:04 +0000 (08:20 +0100)] 
CI/cirrus: simplify logic for disabled tests

The OpenSSH server instance for the testsuite cannot
be started on FreeBSD, therefore the SFTP and SCP
tests are disabled right away from the beginning.

The previous OS version specific logic for SKIP_TESTS
is no longer needed/used and can therefore be removed.

Reviewed-by: Daniel Stenberg
Follow up to #6211
Closes #6229

4 years agomailmap: Daniel Hwang
Daniel Gustafsson [Fri, 20 Nov 2020 10:05:46 +0000 (11:05 +0100)] 
mailmap: Daniel Hwang

Add Daniel Hwang to the mailmap to cover the alternative spelling
Daniel Lee Hwang which was used in one commit.

Closes #6230
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
4 years agoopenssl: guard against OOM on context creation
Daniel Gustafsson [Thu, 19 Nov 2020 00:40:24 +0000 (01:40 +0100)] 
openssl: guard against OOM on context creation

EVP_MD_CTX_create will allocate memory for the context and returns
NULL in case the allocation fails. Make sure to catch any allocation
failures and exit early if so.

In passing, also move to EVP_DigestInit rather than EVP_DigestInit_ex
as the latter is intended for ENGINE selection which we don't do.

Closes #6224
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Reviewed-by: Emil Engler <me@emilengler.com>
4 years agocmake: use libcurl.rc in all Windows builds
Vincent Torri [Tue, 17 Nov 2020 11:32:27 +0000 (12:32 +0100)] 
cmake: use libcurl.rc in all Windows builds

Reviewed-by: Marcel Raad
Closes #6215

4 years agocmake: make CURL_ZLIB a tri-state variable
Cristian Morales Vega [Thu, 19 Nov 2020 07:54:09 +0000 (07:54 +0000)] 
cmake: make CURL_ZLIB a tri-state variable

By differentiating between ON and AUTO it can make a missing zlib
library a hard error when CURL_ZLIB=ON is used.

Reviewed-by: Jakub Zakrzewski
Closes #6221
Fixes #6173

4 years agoquiche: remove 'static' from local buffer
Daniel Stenberg [Thu, 19 Nov 2020 10:05:02 +0000 (11:05 +0100)] 
quiche: remove 'static' from local buffer

For thread-safety

Closes #6223

4 years agoKNOWN_BUGS: cmake: libspsl is not supported
Daniel Stenberg [Wed, 18 Nov 2020 16:00:39 +0000 (17:00 +0100)] 
KNOWN_BUGS: cmake: libspsl is not supported

Closes #6214

4 years agoKNOWN_BUGS: cmake autodetects cert paths when cross-compiling
Daniel Stenberg [Wed, 18 Nov 2020 15:58:44 +0000 (16:58 +0100)] 
KNOWN_BUGS: cmake autodetects cert paths when cross-compiling

Closes #6178

4 years agoKNOWN_BUGS: cmake build doesn't fail if zlib not found
Daniel Stenberg [Wed, 18 Nov 2020 15:56:17 +0000 (16:56 +0100)] 
KNOWN_BUGS: cmake build doesn't fail if zlib not found

Closes #6173

4 years agoKNOWN_BUGS: cmake libcurl.pc uses absolute library paths
Daniel Stenberg [Wed, 18 Nov 2020 15:53:28 +0000 (16:53 +0100)] 
KNOWN_BUGS: cmake libcurl.pc uses absolute library paths

Closes #6169

4 years agoKNOWN_BUGS: cmake: generated .pc file contains strange entries
Daniel Stenberg [Wed, 18 Nov 2020 15:50:41 +0000 (16:50 +0100)] 
KNOWN_BUGS: cmake: generated .pc file contains strange entries

Closes #6167

4 years agoKNOWN_BUGS: cmake uses -lpthread instead of Threads::Threads
Daniel Stenberg [Wed, 18 Nov 2020 15:49:29 +0000 (16:49 +0100)] 
KNOWN_BUGS: cmake uses -lpthread instead of Threads::Threads

Closes #6166

4 years agoKNOWN_BUGS: cmake build in Linux links libcurl to libdl
Daniel Stenberg [Wed, 18 Nov 2020 15:47:46 +0000 (16:47 +0100)] 
KNOWN_BUGS: cmake build in Linux links libcurl to libdl

Closes #6165

4 years agoKNOWN_BUGS: make a new section for cmake topics
Daniel Stenberg [Wed, 18 Nov 2020 15:43:56 +0000 (16:43 +0100)] 
KNOWN_BUGS: make a new section for cmake topics

Closes #6219

4 years agocirrus: build with FreeBSD 12.2 in CirrusCI
Emil Engler [Sun, 15 Nov 2020 20:46:53 +0000 (21:46 +0100)] 
cirrus: build with FreeBSD 12.2 in CirrusCI

Closes #6211

4 years agotests/*server.py: close log file after each log line 6206/head
Marc Hoersken [Sat, 14 Nov 2020 20:32:33 +0000 (21:32 +0100)] 
tests/*server.py: close log file after each log line

Make sure the log file is not locked once a test has
finished and align with the behavior of our logmsg.

Rename curl_test_data.py to be a general util.py.
Format and sort Python imports with isort/VSCode.

Bug: #6058
Closes #6206

4 years agoCURLOPT_HSTS.3: document the file format
Daniel Stenberg [Fri, 13 Nov 2020 14:24:55 +0000 (15:24 +0100)] 
CURLOPT_HSTS.3: document the file format

Closes #6205

4 years agoRELEASE-NOTES: synced
Daniel Stenberg [Fri, 13 Nov 2020 12:32:37 +0000 (13:32 +0100)] 
RELEASE-NOTES: synced

4 years agorelease-notes.pl: detect #[number] better for Ref: etc
Daniel Stenberg [Fri, 13 Nov 2020 12:17:16 +0000 (13:17 +0100)] 
release-notes.pl: detect #[number] better for Ref: etc

4 years agocurl: only warn not fail, if not finding the home dir
Daniel Stenberg [Thu, 12 Nov 2020 23:37:21 +0000 (00:37 +0100)] 
curl: only warn not fail, if not finding the home dir

... as there's no good reason to error out completely.

Reported-by: Andreas Fischer
Fixes #6200
Closes #6201

4 years agohttpput-postfields.c: new example doing PUT with POSTFIELDS
Daniel Stenberg [Mon, 9 Nov 2020 07:16:05 +0000 (08:16 +0100)] 
httpput-postfields.c: new example doing PUT with POSTFIELDS

Proposed-by: Jeroen Ooms
Ref: #6186
Closes #6188

4 years agocmake: correctly handle linker flags for static libs
Tobias Hieta [Tue, 10 Nov 2020 09:45:31 +0000 (10:45 +0100)] 
cmake: correctly handle linker flags for static libs

curl CMake was setting the the EXE flags for static libraries which made
the /manifest:no flag ended up when linking the static library, which is
not a valid flag for lib.exe or llvm-lib.exe and caused llvm-lib to exit
with an error.

The better way to handle this is to make sure that we pass the correct
linker flags to CMAKE_STATIC_LINKER_FLAGS instead.

Reviewed-by: Jakub Zakrzewski
Closes #6195

4 years agocmake: don't pass -fvisibility=hidden to clang-cl on Windows
Tobias Hieta [Tue, 10 Nov 2020 09:30:29 +0000 (10:30 +0100)] 
cmake: don't pass -fvisibility=hidden to clang-cl on Windows

When using clang-cl on windows -fvisibility=hidden is not an known
argument. Instead it behaves exactly like MSVC in this case. So let's
make sure we take that path.

In CMake clang-cl sets both CMAKE_C_COMPILER_ID=clang and MSVC get's
defined since clang-cl is basically a MSVC emulator. So guarding like we
do in this patch seems logical.

Reviewed-by: Jakub Zakrzewski
Closes #6194

4 years agohttp_proxy: use enum with state names for 'keepon' 6193/head
Daniel Stenberg [Mon, 9 Nov 2020 22:48:25 +0000 (23:48 +0100)] 
http_proxy: use enum with state names for 'keepon'

To make the code clearer, change the 'keepon' from an int to an enum
with better state names.

Reported-by: Niranjan Hasabnis
Bug: https://curl.se/mail/lib-2020-11/0026.html
Closes #6193

4 years agocurl_easy_escape: limit output string length to 3 * max input
Daniel Stenberg [Mon, 9 Nov 2020 15:24:13 +0000 (16:24 +0100)] 
curl_easy_escape: limit output string length to 3 * max input

... instead of the limiting it to just the max input size. As every
input byte can be expanded to 3 output bytes, this could limit the input
string to 2.66 MB instead of the intended 8 MB.

Reported-by: Marc Schlatter
Closes #6192

4 years agodocs: document the 8MB input string limit
Daniel Stenberg [Mon, 9 Nov 2020 14:59:35 +0000 (15:59 +0100)] 
docs: document the 8MB input string limit

for curl_easy_escape and curl_easy_setopt()

The limit is there to catch mistakes and abuse. It is meant to be large
enough to allow virtually all "fine" use cases.

Reported-by: Marc Schlatter
Fixes #6190
Closes #6191

4 years agomqttd: fclose test file when done
Daniel Stenberg [Mon, 9 Nov 2020 07:49:59 +0000 (08:49 +0100)] 
mqttd: fclose test file when done

Reported-by: Marc Hörsken
Reviewed-by: Jay Satiro
Bug: #6058
Closes #6189

4 years agoRELEASE-NOTES: synced
Daniel Stenberg [Mon, 9 Nov 2020 09:15:27 +0000 (10:15 +0100)] 
RELEASE-NOTES: synced

4 years agoTHANKS-filter: ignore autobuild links
Daniel Stenberg [Mon, 9 Nov 2020 09:15:02 +0000 (10:15 +0100)] 
THANKS-filter: ignore autobuild links

4 years agoRevert "libcurl.pc: make it relocatable"
Daniel Stenberg [Sat, 7 Nov 2020 17:26:38 +0000 (18:26 +0100)] 
Revert "libcurl.pc: make it relocatable"

This reverts commit 3862c37b6373a55ca704171d45ba5ee91dec2c9f.

That fix should either be done differently or with an option.

Reported-by: asavah on github
Fixes #6157
Closes #6183

4 years agoexamples/httpput: remove use of CURLOPT_PUT
Daniel Stenberg [Mon, 9 Nov 2020 00:00:52 +0000 (01:00 +0100)] 
examples/httpput: remove use of CURLOPT_PUT

It is deprecated and unnecessary since it already sets CURLOPT_UPLOAD.

Reported-by: Jeroen Ooms
Fixes #6186
Closes #6187

4 years agoCurl_pgrsStartNow: init speed limit time stamps at start
Daniel Stenberg [Sat, 7 Nov 2020 22:53:24 +0000 (23:53 +0100)] 
Curl_pgrsStartNow: init speed limit time stamps at start

By setting the speed limit time stamps unconditionally at transfer
start, we can start off a transfer without speed limits and yet allow
them to get set during transfer and have an effect.

Reported-by: Kael1117 on github
Fixes #6162
Closes #6184

4 years agongtcp2: adapt to recent nghttp3 updates
Daniel Stenberg [Sun, 8 Nov 2020 19:55:15 +0000 (20:55 +0100)] 
ngtcp2: adapt to recent nghttp3 updates

'reset_stream' was added to the nghttp3_conn_callbacks struct

Closes #6185

4 years agoconfigure: pass -pthread to Libs.private for pkg-config
Daniel Stenberg [Fri, 6 Nov 2020 23:33:16 +0000 (00:33 +0100)] 
configure: pass -pthread to Libs.private for pkg-config

Reported-by: Cristian Morales Vega
Fixes #6168
Closes #6181

4 years agoaltsvc: minimize variable scope and avoid "DEAD_STORE"
Daniel Stenberg [Sat, 7 Nov 2020 13:17:53 +0000 (14:17 +0100)] 
altsvc: minimize variable scope and avoid "DEAD_STORE"

Closes #6182

4 years agoFAQ: remove "Why is there a HTTP/1.1 in my HTTP/2 request?"
Daniel Stenberg [Fri, 6 Nov 2020 08:28:49 +0000 (09:28 +0100)] 
FAQ: remove "Why is there a HTTP/1.1 in my HTTP/2 request?"

This hasn't been the case for a while now, remove.

4 years agoFAQ: refresh "Why do I get "certificate verify failed"
Daniel Stenberg [Fri, 6 Nov 2020 08:16:06 +0000 (09:16 +0100)] 
FAQ: refresh "Why do I get "certificate verify failed"

Add more details, remove references to ancient curl version.

4 years agotest493: verify --hsts upgrade and that %{url_effective} reflects that
Daniel Stenberg [Thu, 5 Nov 2020 08:19:23 +0000 (09:19 +0100)] 
test493: verify --hsts upgrade and that %{url_effective} reflects that

Closes #6175

4 years agourl: make sure an HSTS upgrade updates URL and scheme correctly
Daniel Stenberg [Thu, 5 Nov 2020 08:18:52 +0000 (09:18 +0100)] 
url: make sure an HSTS upgrade updates URL and scheme correctly

Closes #6175

4 years agotool_operate: set HSTS with CURLOPT_HSTS to pass on filename
Daniel Stenberg [Thu, 5 Nov 2020 08:17:58 +0000 (09:17 +0100)] 
tool_operate: set HSTS with CURLOPT_HSTS to pass on filename

Closes #6175

4 years agohsts: remove debug code leftovers
Daniel Stenberg [Thu, 5 Nov 2020 08:17:21 +0000 (09:17 +0100)] 
hsts: remove debug code leftovers

Closes #6175

4 years agoFAQ: refreshed
Daniel Stenberg [Thu, 5 Nov 2020 12:06:00 +0000 (13:06 +0100)] 
FAQ: refreshed

 - remove a few ancient questions
 - add configure with static libs question
 - updated wording in several places
 - lowercased curl

Closes #6177

4 years agoexamples: fix comment syntax
Daniel Gustafsson [Thu, 5 Nov 2020 08:53:02 +0000 (09:53 +0100)] 
examples: fix comment syntax

Commit ac0a88fd2 accidentally added a stray character outside of the
comment which broke compilation. Fix by removing.

Reported-by: autobuild https://curl.se/dev/log.cgi?id=20201105084306-12742
4 years agohsts: Remove pointless call to free in errorpath
Daniel Gustafsson [Thu, 5 Nov 2020 08:42:38 +0000 (09:42 +0100)] 
hsts: Remove pointless call to free in errorpath

The line variable will always be NULL in the error path, so remove
the free call since it's pointless.

Closes #6170
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
4 years agodocs: Fix various typos in documentation
Daniel Gustafsson [Thu, 5 Nov 2020 08:36:24 +0000 (09:36 +0100)] 
docs: Fix various typos in documentation

Closes #6171
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
4 years agocopyright: fix year ranges
Daniel Stenberg [Thu, 5 Nov 2020 07:22:10 +0000 (08:22 +0100)] 
copyright: fix year ranges

Follow-up from 4d2f8006777

4 years agoHISTORY: the new domain
Daniel Stenberg [Wed, 4 Nov 2020 13:03:01 +0000 (14:03 +0100)] 
HISTORY: the new domain

4 years agocurl.se: new home
Daniel Stenberg [Wed, 4 Nov 2020 13:02:01 +0000 (14:02 +0100)] 
curl.se: new home

Closes #6172

4 years agoKNOWN_BUGS: FTPS with Schannel times out file list operation
Daniel Stenberg [Wed, 4 Nov 2020 22:56:12 +0000 (23:56 +0100)] 
KNOWN_BUGS: FTPS with Schannel times out file list operation

Reported-by: bobmitchell1956 on github
Closes #5284

4 years agoKNOWN_BUGS: SMB tests fail with Python 2
Daniel Stenberg [Wed, 4 Nov 2020 22:48:56 +0000 (23:48 +0100)] 
KNOWN_BUGS: SMB tests fail with Python 2

Reported-by: Jay Satiro
Closes #5983

4 years agoKNOWN_BUGS: LDAPS with NSS is slow
Daniel Stenberg [Wed, 4 Nov 2020 22:43:43 +0000 (23:43 +0100)] 
KNOWN_BUGS: LDAPS with NSS is slow

Reported-by: nosajsnikta on github
Closes #5874

4 years agotravis: use ninja-build for CMake builds
Sergei Nikulov [Wed, 14 Oct 2020 10:19:35 +0000 (13:19 +0300)] 
travis: use ninja-build for CMake builds

Added package ninja-build to environment
Use ninja to speed up CMake builds

Closes #6077

4 years agortsp: error out on empty Session ID, unified the code
Harry Sintonen [Tue, 3 Nov 2020 14:55:58 +0000 (16:55 +0200)] 
rtsp: error out on empty Session ID, unified the code

4 years agortsp: fixed the RTST Session ID mismatch in test 570
Harry Sintonen [Tue, 3 Nov 2020 10:29:40 +0000 (12:29 +0200)] 
rtsp: fixed the RTST Session ID mismatch in test 570

Closes #6161

4 years agortsp: fixed Session ID comparison to refuse prefix
Harry Sintonen [Tue, 3 Nov 2020 01:36:56 +0000 (03:36 +0200)] 
rtsp: fixed Session ID comparison to refuse prefix

Closes #6161

4 years agoRELEASE-NOTES: synced
Daniel Stenberg [Tue, 3 Nov 2020 15:46:04 +0000 (16:46 +0100)] 
RELEASE-NOTES: synced

(forgot to update the list of contributors)

4 years agoRELEASE-NOTES: synced
Daniel Stenberg [Tue, 3 Nov 2020 15:41:59 +0000 (16:41 +0100)] 
RELEASE-NOTES: synced

4 years agocurlver: bumped to 7.74.0
Daniel Stenberg [Tue, 3 Nov 2020 07:22:54 +0000 (08:22 +0100)] 
curlver: bumped to 7.74.0

4 years agohsts: add read/write callbacks
Daniel Stenberg [Mon, 2 Nov 2020 22:17:01 +0000 (23:17 +0100)] 
hsts: add read/write callbacks

- read/write callback options
- man pages for the 4 new setopts
- test 1915 verifies the callbacks

Closes #5896

4 years agohsts: add support for Strict-Transport-Security
Daniel Stenberg [Mon, 2 Nov 2020 22:17:01 +0000 (23:17 +0100)] 
hsts: add support for Strict-Transport-Security

- enable in the build (configure)
- header parsing
- host name lookup
- unit tests for the above
- CI build
- CURL_VERSION_HSTS bit
- curl_version_info support
- curl -V output
- curl-config --features
- CURLOPT_HSTS_CTRL
- man page for CURLOPT_HSTS_CTRL
- curl --hsts (sets CURLOPT_HSTS_CTRL and works with --libcurl)
- man page for --hsts
- save cache to disk
- load cache from disk
- CURLOPT_HSTS
- man page for CURLOPT_HSTS
- added docs/HSTS.md
- fixed --version docs
- adjusted curl_easy_duphandle

Closes #5896

4 years agoCI/tests: enable test target on TravisCI for CMake builds
Sergei Nikulov [Wed, 14 Oct 2020 07:00:00 +0000 (10:00 +0300)] 
CI/tests: enable test target on TravisCI for CMake builds

Added test-nonflaky target to CMake builds

Disabled test 1139 because the cmake build doesn't create docs/curl.1

Closes #6074

4 years agotool_debug_cb: do not assume zero-terminated data
Daniel Stenberg [Tue, 3 Nov 2020 07:14:46 +0000 (08:14 +0100)] 
tool_debug_cb: do not assume zero-terminated data

Follow-up to d70a5b5a0f5e3

4 years agosendf: move the verbose-check into Curl_debug
Daniel Stenberg [Mon, 2 Nov 2020 16:34:04 +0000 (17:34 +0100)] 
sendf: move the verbose-check into Curl_debug

Saves us from having the same check done everywhere.

Closes #6159

4 years agotravis: use valgrind when running tests for debug builds
Daniel Stenberg [Sun, 1 Nov 2020 22:26:04 +0000 (23:26 +0100)] 
travis: use valgrind when running tests for debug builds

Except the non-x86 and sanitizer builds

Closes #6154

4 years agoheader.d: fix syntax mistake
Daniel Stenberg [Mon, 2 Nov 2020 09:31:02 +0000 (10:31 +0100)] 
header.d: fix syntax mistake

follow-up from 1144886f38fd0

4 years agognutls: fix memory leaks (certfields memory wasn't released)
Harry Sintonen [Sun, 1 Nov 2020 21:32:15 +0000 (23:32 +0200)] 
gnutls: fix memory leaks (certfields memory wasn't released)

Closes #6153

4 years agotests: add missing global_init/cleanup calls
Daniel Stenberg [Mon, 2 Nov 2020 07:26:40 +0000 (08:26 +0100)] 
tests: add missing global_init/cleanup calls

Without the cleanup call in these test files, the mbedTLS backend leaks
memory.

Closes #6156

4 years agotool_operate: --retry for HTTP 408 responses too
Daniel Stenberg [Sun, 1 Nov 2020 23:04:22 +0000 (00:04 +0100)] 
tool_operate: --retry for HTTP 408 responses too

This was inadvertently dropped from the code when the parallel support
was added.

Regression since b88940850 (7.66.0)

Reviewed-by: Jay Satiro
Closes #6155

4 years agohttp: pass correct header size to debug callback for chunked post
Daniel Stenberg [Fri, 30 Oct 2020 10:29:22 +0000 (11:29 +0100)] 
http: pass correct header size to debug callback for chunked post

... when the chunked framing was added, the size of the "body part" of
the data was calculated wrongly so the debug callback would get told a
header chunk a few bytes too big that would also contain the first few
bytes of the request body.

Reported-by: Dirk Wetter
Ref: #6144
Closes #6147

4 years agoheader.d: mention the "Transfer-Encoding: chunked" handling
Daniel Stenberg [Fri, 30 Oct 2020 11:05:47 +0000 (12:05 +0100)] 
header.d: mention the "Transfer-Encoding: chunked" handling

Ref: #6144
Closes #6148

4 years agoacinclude: detect manually set minimum macos/ipod version
Daniel Stenberg [Thu, 29 Oct 2020 09:01:42 +0000 (10:01 +0100)] 
acinclude: detect manually set minimum macos/ipod version

... even if set in the CC or IPHONEOS/MACOSX_DEPLOYMENT_TARGET
variables.

Reported-by: hamstergene on github
Fixes #6138
Closes #6140

4 years agotests: fix some http/2 tests for older versions of nghttpx
Jay Satiro [Thu, 29 Oct 2020 04:06:27 +0000 (00:06 -0400)] 
tests: fix some http/2 tests for older versions of nghttpx

- Add regex that strips http/2 server header name to those http/2 tests
  that don't already have it.

- Improve that regex in all http/2 tests.

Tests 358 and 359 were failing for me before this change on a system
that uses an older version of nghttpx which includes its version number
in the server header.

Closes https://github.com/curl/curl/pull/6139

4 years agoRELEASE-NOTES: synced
Daniel Stenberg [Thu, 29 Oct 2020 23:21:38 +0000 (00:21 +0100)] 
RELEASE-NOTES: synced

4 years agoconfigure: use pkgconfig to find openSSL when cross-compiling
Cristian Morales Vega [Thu, 29 Oct 2020 17:14:49 +0000 (17:14 +0000)] 
configure: use pkgconfig to find openSSL when cross-compiling

This reverts 736a40fec (November 2004), which doesn't explain why it was
done.

Closes #6145

4 years agotool_operate: bail out proper on errors for parallel setup
Daniel Stenberg [Wed, 28 Oct 2020 10:00:31 +0000 (11:00 +0100)] 
tool_operate: bail out proper on errors for parallel setup

... otherwise for example trying to upload a missing file just causes a
loop.

Reported-by: BrumBrum on hackerone
Closes #6141

4 years agoCMake: make BUILD_TESTING dependent option
Sergei Nikulov [Tue, 13 Oct 2020 20:37:15 +0000 (23:37 +0300)] 
CMake: make BUILD_TESTING dependent option

CMake will now handle BUILD_TESTING depending on PERL_FOUND and
CURL_DISABLE_TESTING

Ref: #6036
Closes #6072

4 years agolibssh2: fix transport over HTTPS proxy
Daniel Stenberg [Mon, 26 Oct 2020 10:10:49 +0000 (11:10 +0100)] 
libssh2: fix transport over HTTPS proxy

The fix in #6021 was not enough. This fix makes sure SCP/SFTP content
can also be transfered over a HTTPS proxy.

Fixes #6113
Closes #6128

4 years agocurl.1: add an "OUTPUT" section at the top of the manpage
Daniel Stenberg [Mon, 26 Oct 2020 22:38:52 +0000 (23:38 +0100)] 
curl.1: add an "OUTPUT" section at the top of the manpage

Explain the basic concepts behind curl output.

Inspired by #6124

Closes #6134

4 years agomailmap: set Viktor Szakats's email
Daniel Stenberg [Wed, 28 Oct 2020 10:10:54 +0000 (11:10 +0100)] 
mailmap: set Viktor Szakats's email

4 years agoruntests: show keywords when no tests ran
Daniel Stenberg [Mon, 26 Oct 2020 07:58:05 +0000 (08:58 +0100)] 
runtests: show keywords when no tests ran

To help out future debugging, runtests now outputs the list of keywords
when it fails because no tests ran.

Ref: #6120
Closes #6126

4 years agoCURLOPT_DNS_USE_GLOBAL_CACHE.3: fix typo
Jay Satiro [Mon, 26 Oct 2020 21:08:26 +0000 (17:08 -0400)] 
CURLOPT_DNS_USE_GLOBAL_CACHE.3: fix typo

Reported-by: Rui LIU
Closes https://github.com/curl/curl/issues/6131

4 years agorange.d: fix typo
Jay Satiro [Mon, 26 Oct 2020 21:12:15 +0000 (17:12 -0400)] 
range.d: fix typo

Follow-up to 15ae039 from earlier today.

4 years agoCI/github: work-around for brew breakage on macOS
Daniel Stenberg [Mon, 26 Oct 2020 12:10:29 +0000 (13:10 +0100)] 
CI/github: work-around for brew breakage on macOS

... and make it use OpenSSL 1.1 properly

Fixes #6130
Closes #6129

4 years agorange.d: clarify that curl will not parse multipart responses
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

4 years agoRELEASE-NOTES: synced
Daniel Stenberg [Mon, 26 Oct 2020 08:27:29 +0000 (09:27 +0100)] 
RELEASE-NOTES: synced

4 years agolibssh2: fix build with disabled proxy support
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

4 years agoalt-svc: enable by default
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

4 years agoCI/appveyor: remove (unused) runtests.pl -b option
Daniel Stenberg [Sun, 25 Oct 2020 11:07:00 +0000 (12:07 +0100)] 
CI/appveyor: remove (unused) runtests.pl -b option

4 years agotool_help: make "output" description less confusing
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

4 years agoCI/appveyor: disable test 571 in two cmake builds
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

4 years agocmake: set the unicode feature in curl-config on Windows
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

4 years agolibssh2: require version 1.0 or later
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

4 years agoKNOWN_BUGS: mention the individual cmake issues
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.

4 years agoCMake: store IDN2 information in curl_config.h
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

4 years agoCMake: call the feature unixsockets without dash
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

4 years agoCI/travis: add brotli and zstd to the libssh2 build
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

4 years agoruntests: revert the mistaken edit of $CURL
Daniel Stenberg [Mon, 19 Oct 2020 09:50:08 +0000 (11:50 +0200)] 
runtests: revert the mistaken edit of $CURL

Regression from c4693adc62

4 years agoRELEASE-NOTES: synced
Daniel Stenberg [Mon, 19 Oct 2020 07:14:47 +0000 (09:14 +0200)] 
RELEASE-NOTES: synced

4 years agocurl_url_set.3: fix typo in the RETURN VALUE section
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