History log of /curl/ (Results 6851 – 6875 of 33763)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
cc615f4806-Mar-2021 Marc Hoersken

config: fix building SMB with configure using Win32 Crypto

Align conditions for NTLM features between CMake and configure
builds by differentiating between USE_NTLM and USE_CURL_NTLM_COR

config: fix building SMB with configure using Win32 Crypto

Align conditions for NTLM features between CMake and configure
builds by differentiating between USE_NTLM and USE_CURL_NTLM_CORE,
just like curl_setup.h does internally to detect support of:

- USE_NTLM: required for NTLM crypto authentication feature
- USE_CURL_NTLM_CORE: required for SMB protocol

Implement USE_WIN32_CRYPTO detection by checking for Crypt functions
in wincrypt.h which are not available in the Windows App environment.

Link advapi32 and crypt32 for Crypto API and Schannel SSL backend.
Fix condition of Schannel SSL backend in CMake build accordingly.

Reviewed-by: Marcel Raad

Closes #6277

show more ...

7152957404-Mar-2021 Marc Hoersken

config: fix detection of restricted Windows App environment

Move the detection of the restricted Windows App environment
in curl_setup.h before the definition of USE_WIN32_CRYPTO
via

config: fix detection of restricted Windows App environment

Move the detection of the restricted Windows App environment
in curl_setup.h before the definition of USE_WIN32_CRYPTO
via included config-win32.h in case no build system is used.

Reviewed-by: Marcel Raad

Part of #6277

show more ...

d4a9327915-Mar-2021 Daniel Stenberg

HISTORY: curl 7.7.2 was the first version used in Mac OS X 10.1

f83d4ea511-Mar-2021 Daniel Stenberg

gen.pl: quote "bare" minuses in the nroff curl.1

Reported-by: Alejandro Colomar
Fixes #6698
Closes #6722

419f0f5514-Mar-2021 Daniel Gustafsson

hsts: remove unused defines

MAX_HSTS_SUBLEN and MAX_HSTS_SUBLENSTR were unused from the initial commit,
and mostly likely leftovers from early development. Remove as they're not
use

hsts: remove unused defines

MAX_HSTS_SUBLEN and MAX_HSTS_SUBLENSTR were unused from the initial commit,
and mostly likely leftovers from early development. Remove as they're not
used for anything.

Closes #6741
Reviewed-by: Daniel Stenberg <daniel@haxx.se>

show more ...

6dc0305312-Mar-2021 Daniel Stenberg

github: add torture-ftp for FTP-only torture testing

and at 20% to try to keep the run-time reasonable

Closes #6728

743ab72b11-Mar-2021 Daniel Stenberg

travis: split "torture" into a separate "events" build as well

Run torture without FTP and reducing coverage to 20%

For some reason the torture tests now run a lot slower on travis

travis: split "torture" into a separate "events" build as well

Run torture without FTP and reducing coverage to 20%

For some reason the torture tests now run a lot slower on travis and run
into the 50 minute limit all the time.

Closes #6728

show more ...

8ed71fc412-Mar-2021 Daniel Stenberg

ftp: fix memory leak in ftp_done

If after a transfer is complete Curl_GetFTPResponse() returns an error,
curl would not free the ftp->pathalloc block.

Found by torture-testing t

ftp: fix memory leak in ftp_done

If after a transfer is complete Curl_GetFTPResponse() returns an error,
curl would not free the ftp->pathalloc block.

Found by torture-testing test 576

Closes #6737

show more ...

d1f4007812-Mar-2021 oxalica

http2: fail if connection terminated without END_STREAM

Closes #6736

f8a5e96612-Mar-2021 Daniel Stenberg

RELEASE-NOTES: synced

43a56e3427-Feb-2021 Jacob Hoffman-Andrews

rustls: support CURLOPT_SSL_VERIFYPEER

This requires the latest main branch of crustls, which provides
rustls_client_config_builder_dangerous_set_certificate_verifier and
rustls_clie

rustls: support CURLOPT_SSL_VERIFYPEER

This requires the latest main branch of crustls, which provides
rustls_client_config_builder_dangerous_set_certificate_verifier and
rustls_client_config_builder_set_enable_sni.

This refactors the session setup into its own function, and adds a new
function cr_hostname_is_ip. Because crustls doesn't support verification
of IP addresses, special handling is needed: We disable SNI and set a
placeholder hostname (which never actually gets sent on the wire).

Closes #6719

show more ...

f7aeff5812-Mar-2021 Daniel Gustafsson

cookies: Fix potential NULL pointer deref with PSL

Curl_cookie_init can be called with data being NULL, and this can in turn
be passed to Curl_cookie_add, meaning that both functions mus

cookies: Fix potential NULL pointer deref with PSL

Curl_cookie_init can be called with data being NULL, and this can in turn
be passed to Curl_cookie_add, meaning that both functions must be careful
to only use data where it's checked for being a NULL pointer. The libpsl
support code does however dereference data without checking, so if we are
indeed having an unset data pointer we cannot PSL check the cookiedomain.

This is currently not a reachable dereference, as the only caller with a
NULL data isn't passing a file to initialize cookies from, but since the
API has this contract let's ensure we hold it.

Closes #6731
Reviewed-by: Daniel Stenberg <daniel@haxx.se>

show more ...

b3ace84609-Mar-2021 Michael Hordijk

configure: only add OpenSSL paths if they are defined

Add paths for OpenSSL compiling and linking only if they have been
defined. If they haven't been defined, we'll assume that the pat

configure: only add OpenSSL paths if they are defined

Add paths for OpenSSL compiling and linking only if they have been
defined. If they haven't been defined, we'll assume that the paths are
already available to the toolchain.

Closes #6730

show more ...

21445a7611-Mar-2021 Jay Satiro

retry.d: Clarify transient 5xx HTTP response codes

- Clarify the only 5xx response codes that are treated as transient are
500, 502, 503 and 504.

Prior to this change it said

retry.d: Clarify transient 5xx HTTP response codes

- Clarify the only 5xx response codes that are treated as transient are
500, 502, 503 and 504.

Prior to this change it said it treated all 5xx as transient, but the
code says otherwise.

Ref: https://github.com/curl/curl/blob/curl-7_75_0/src/tool_operate.c#L462-L495

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

show more ...

cf9d16b911-Mar-2021 Jay Satiro

retry-all-errors.d: Explain curl errors versus HTTP response errors

- Add a paragraph explaining that curl does not consider HTTP response
errors as curl errors, and how that behavior

retry-all-errors.d: Explain curl errors versus HTTP response errors

- Add a paragraph explaining that curl does not consider HTTP response
errors as curl errors, and how that behavior can be modified by using
--retry and --fail.

The --retry-all-errors doc says "Retry on any error" which some users
may find misleading without the added explanation.

Ref: https://curl.se/docs/faq.html#Why_do_I_get_downloaded_data_eve
Ref: https://curl.se/docs/faq.html#curl_doesn_t_return_error_for_HT

Reported-by: Lawrence Gripper

Fixes https://github.com/curl/curl/issues/6712
Closes https://github.com/curl/curl/pull/6720

show more ...

ed158f0d11-Mar-2021 Daniel Stenberg

travis: switch ngtcp2 build over to quictls

The ngtcp2 project switched over to using the quictls OpenSSL fork
instead of their own patched OpenSSL. We follow suit.

Closes #6729

f073a42711-Mar-2021 Daniel Stenberg

test220/314: adjust to run with Hyper

7098f9fe11-Mar-2021 Daniel Stenberg

c-hyper: support automatic content-encoding

Closes #6727

4c0206f911-Mar-2021 Daniel Stenberg

http: remove superfluous NULL assign

Closes #6727

985c184d11-Mar-2021 Daniel Stenberg

tool_operate: bail if set CURLOPT_HTTP09_ALLOWED returns error

Closes #6727

32a7133311-Mar-2021 Daniel Stenberg

setopt: error on CURLOPT_HTTP09_ALLOWED set true with Hyper

Not supported.

Closes #6727

25837e3211-Mar-2021 Daniel Stenberg

test306: make it not run with Hyper

... as it tests HTTP/0.9 which Hyper doesn't support.

366c0a4a11-Mar-2021 Daniel Stenberg

test304: header CRLF cleanup to work with Hyper

7b2f067611-Mar-2021 Daniel Stenberg

FTP: allow SIZE to fail when doing (resumed) upload

Added test 362 to verify.

Reported-by: Jordan Brown
Regression since 7ea2e1d0c5a7f (7.73.0)
Fixes #6715
Closes #6725

dcccd8dd09-Mar-2021 Daniel Stenberg

configure: provide Largefile feature for curl-config

... as cmake now does it correctly, and make test1014 check for it

Closes #6702

1...<<271272273274275276277278279280>>...1351