History log of /curl/ (Results 226 – 250 of 32129)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
80a3b83011-Mar-2024 Stefan Eissing

http: expect 100 rework

Move all handling of HTTP's `Expect: 100-continue` feature into a client
reader. Add sending flag `KEEP_SEND_TIMED` that triggers transfer
sending on general

http: expect 100 rework

Move all handling of HTTP's `Expect: 100-continue` feature into a client
reader. Add sending flag `KEEP_SEND_TIMED` that triggers transfer
sending on general events like a timer.

HTTP installs a `CURL_CR_PROTOCOL` reader when announcing `Expect:
100-continue`. That reader works as follows:

- on first invocation, records time, starts the `EXPIRE_100_TIMEOUT`
timer, disables `KEEP_SEND`, enables `KEEP_SEND_TIMER` and returns 0,
eos=FALSE like a paused upload.

- on subsequent invocation it checks if the timer has expired. If so, it
enables `KEEP_SEND` and switches to passing through reads to the
underlying readers.

Transfer handling's `readwrite()` will be invoked when a timer expires
(like `EXPIRE_100_TIMEOUT`) or when data from the server arrives. Seeing
`KEEP_SEND_TIMER`, it will try to upload more data, which triggers
reading from the client readers again. Which then may lead to a new
pausing or cause the upload to start.

Flags and timestamps connected to this have been moved from
`SingleRequest` into the reader's context.

Closes #13110

show more ...

3d0fd38215-Mar-2024 Stefan Eissing

mbedtls: fix pytest for newer versions

Fix the expectations in pytest for newer versions of mbedtls

Closes #13132

79cdae4f15-Mar-2024 Daniel Stenberg

ipv6.md: mention IPv4 mapped addresses

Reported-by: Josh Soref
Assisted-by: Jay Satiro
Fixes #13112
Closes #13131

77b0571c13-Mar-2024 Stefan Eissing

http: revisit http_perhapsrewind()

- use facilities provided by client readers better
- work also for non-uploading requests like GET/HEAD
- update documentation

Closes #131

http: revisit http_perhapsrewind()

- use facilities provided by client readers better
- work also for non-uploading requests like GET/HEAD
- update documentation

Closes #13117

show more ...

6ea7587714-Mar-2024 Stefan Eissing

test 1541: verify getinfo values on first header callback

Reported-by: chensong1211 on github
Ref: #13125
Closes #13128

c765b04d08-Mar-2024 Stefan Eissing

TLS: start shutdown only when peer did not already close

- When curl sees a TCP close from the peer, do not start a TLS shutdown.
TLS shutdown is a handshake and if the peer already cl

TLS: start shutdown only when peer did not already close

- When curl sees a TCP close from the peer, do not start a TLS shutdown.
TLS shutdown is a handshake and if the peer already closed the
connection, it is not interested in participating.

Reported-by: dfdity on github
Assisted-by: Jiří Bok
Assisted-by: Pēteris Caune
Fixes #10290
Closes #13087

show more ...

1356028f14-Mar-2024 Daniel Stenberg

RELEASE-NOTES: synced

4094818914-Mar-2024 Daniel Stenberg

curl: make --libcurl output better CURLOPT_*SSLVERSION

The option is really two enums ORed together, so it needs special
attention to make the code output nice.

Added test 1481

curl: make --libcurl output better CURLOPT_*SSLVERSION

The option is really two enums ORed together, so it needs special
attention to make the code output nice.

Added test 1481 to verify. Both the server and the proxy versions.

Reported-by: Boris Verkhovskiy
Fixes #13127
Closes #13129

show more ...

09f3679714-Mar-2024 Daniel Stenberg

GHA/linux: add sysctl trick to work-around GitHub runner issue

The GitHub image runner update from 20240304.1.0 to 20240310.1
introduces a problem for clang-14. The issue is caused by

GHA/linux: add sysctl trick to work-around GitHub runner issue

The GitHub image runner update from 20240304.1.0 to 20240310.1
introduces a problem for clang-14. The issue is caused by
incompatibility between llvm 14 provided in ubuntu-22.04 image and the
much newer kernel configured with high-entropy ASLR.

As a work-around, we issue a sysctl command to lower the entropy and get
clang-14 to work again.

URL: https://github.com/actions/runner-images/issues/9491

Closes #13124

show more ...

fb3c251e13-Mar-2024 Daniel Stenberg

SPONSORS: describe the basics

Closes #13119

0f4520ad13-Mar-2024 Daniel Stenberg

GOVERNANCE: document the core team

Closes #13118

181f5f3313-Mar-2024 Jay Satiro

vquic-tls: fix the error code returned for bad CA file

- Return CURLE_SSL_CACERT_BADFILE if wolfSSL encounters a problem
reading the cert file or path.

This is a follow-up to

vquic-tls: fix the error code returned for bad CA file

- Return CURLE_SSL_CACERT_BADFILE if wolfSSL encounters a problem
reading the cert file or path.

This is a follow-up to the parent commit aedbbdf1.

Reported-by: Karthikdasari0423@users.noreply.github.com

Fixes https://github.com/curl/curl/issues/13115

show more ...

aedbbdf111-Mar-2024 Daniel Stenberg

vquic-tls: return appropirate errors on wolfSSL errors

Reported-by: Dexter Gerig
Closes #13107

14d9afdf12-Mar-2024 Viktor Szakats

tidy-up: one comment and EOF newlines

Reviewed-by: Daniel Stenberg
Closes #13108

e7219c2b12-Mar-2024 Daniel Stenberg

cmdline-opts: language cleanups

Use imperative mood consistently for the first sentence describing an
option.

"Set this" instead "tell curl to set" or "this sets..."

Pl

cmdline-opts: language cleanups

Use imperative mood consistently for the first sentence describing an
option.

"Set this" instead "tell curl to set" or "this sets..."

Plus some extra cleanups and rephrasing.

Closes #13106

show more ...


docs/cmdline-opts/MANPAGE.md
docs/cmdline-opts/_PROTOCOLS.md
docs/cmdline-opts/alt-svc.md
docs/cmdline-opts/anyauth.md
docs/cmdline-opts/basic.md
docs/cmdline-opts/ca-native.md
docs/cmdline-opts/cacert.md
docs/cmdline-opts/capath.md
docs/cmdline-opts/cert-status.md
docs/cmdline-opts/cert-type.md
docs/cmdline-opts/cert.md
docs/cmdline-opts/compressed-ssh.md
docs/cmdline-opts/config.md
docs/cmdline-opts/connect-to.md
docs/cmdline-opts/continue-at.md
docs/cmdline-opts/cookie-jar.md
docs/cmdline-opts/cookie.md
docs/cmdline-opts/curves.md
docs/cmdline-opts/data-ascii.md
docs/cmdline-opts/data-binary.md
docs/cmdline-opts/data-raw.md
docs/cmdline-opts/data-urlencode.md
docs/cmdline-opts/data.md
docs/cmdline-opts/delegation.md
docs/cmdline-opts/digest.md
docs/cmdline-opts/disable-eprt.md
docs/cmdline-opts/disable-epsv.md
docs/cmdline-opts/disallow-username-in-url.md
docs/cmdline-opts/dns-interface.md
docs/cmdline-opts/dns-ipv4-addr.md
docs/cmdline-opts/dns-ipv6-addr.md
docs/cmdline-opts/etag-compare.md
docs/cmdline-opts/etag-save.md
docs/cmdline-opts/expect100-timeout.md
docs/cmdline-opts/fail-with-body.md
docs/cmdline-opts/fail.md
docs/cmdline-opts/false-start.md
docs/cmdline-opts/form-escape.md
docs/cmdline-opts/form.md
docs/cmdline-opts/ftp-method.md
docs/cmdline-opts/ftp-port.md
docs/cmdline-opts/ftp-pret.md
docs/cmdline-opts/ftp-skip-pasv-ip.md
docs/cmdline-opts/globoff.md
docs/cmdline-opts/haproxy-protocol.md
docs/cmdline-opts/help.md
docs/cmdline-opts/hsts.md
docs/cmdline-opts/http0.9.md
docs/cmdline-opts/http1.0.md
docs/cmdline-opts/http1.1.md
docs/cmdline-opts/http2-prior-knowledge.md
docs/cmdline-opts/http2.md
docs/cmdline-opts/http3.md
docs/cmdline-opts/ipv4.md
docs/cmdline-opts/ipv6.md
docs/cmdline-opts/keepalive-time.md
docs/cmdline-opts/limit-rate.md
docs/cmdline-opts/list-only.md
docs/cmdline-opts/location-trusted.md
docs/cmdline-opts/max-time.md
docs/cmdline-opts/negotiate.md
docs/cmdline-opts/netrc-file.md
docs/cmdline-opts/netrc.md
docs/cmdline-opts/next.md
docs/cmdline-opts/ntlm.md
docs/cmdline-opts/output-dir.md
docs/cmdline-opts/output.md
docs/cmdline-opts/path-as-is.md
docs/cmdline-opts/pinnedpubkey.md
docs/cmdline-opts/post301.md
docs/cmdline-opts/post302.md
docs/cmdline-opts/post303.md
docs/cmdline-opts/proto-default.md
docs/cmdline-opts/proto-redir.md
docs/cmdline-opts/proto.md
docs/cmdline-opts/proxy-anyauth.md
docs/cmdline-opts/proxy-basic.md
docs/cmdline-opts/proxy-ca-native.md
docs/cmdline-opts/proxy-digest.md
docs/cmdline-opts/proxy-http2.md
docs/cmdline-opts/proxy-negotiate.md
docs/cmdline-opts/proxy-ntlm.md
docs/cmdline-opts/proxy-pinnedpubkey.md
docs/cmdline-opts/proxy-service-name.md
docs/cmdline-opts/proxy-tls13-ciphers.md
docs/cmdline-opts/referer.md
docs/cmdline-opts/remote-header-name.md
docs/cmdline-opts/remote-name-all.md
docs/cmdline-opts/remove-on-error.md
docs/cmdline-opts/request-target.md
docs/cmdline-opts/resolve.md
docs/cmdline-opts/service-name.md
docs/cmdline-opts/socks5-basic.md
docs/cmdline-opts/socks5-gssapi-service.md
docs/cmdline-opts/socks5-gssapi.md
docs/cmdline-opts/ssl-allow-beast.md
docs/cmdline-opts/ssl-auto-client-cert.md
docs/cmdline-opts/ssl-no-revoke.md
docs/cmdline-opts/ssl-revoke-best-effort.md
docs/cmdline-opts/styled-output.md
docs/cmdline-opts/tftp-no-options.md
docs/cmdline-opts/tlsv1.md
docs/cmdline-opts/trace-ascii.md
docs/cmdline-opts/trace.md
docs/cmdline-opts/upload-file.md
docs/cmdline-opts/url-query.md
docs/cmdline-opts/url.md
docs/cmdline-opts/use-ascii.md
docs/cmdline-opts/xattr.md
tests/test1275.pl
451a7a7a12-Mar-2024 Daniel Stenberg

managen: remove space before protocols

For options that are listed for specific protocols, the protocols (shown
first within parentheses) are now output without the leading space in the

managen: remove space before protocols

For options that are listed for specific protocols, the protocols (shown
first within parentheses) are now output without the leading space in the
manpage output.

Closes #13105

show more ...

942896fd07-Mar-2024 Jay Satiro

mbedtls: properly cleanup the thread-shared entropy

- Store the state of the thread-shared entropy for global init/cleanup.

- Use curl's thread support of mbedtls for all Windows bu

mbedtls: properly cleanup the thread-shared entropy

- Store the state of the thread-shared entropy for global init/cleanup.

- Use curl's thread support of mbedtls for all Windows builds instead of
just when the threaded resolver is used via USE_THREADS_WIN32.

Prior to this change on global cleanup curl builds that have curl thread
support for mbedtls freed the entropy (8b1d2298) but failed to mark that
it had been freed, which caused problems on subsequent init + transfer.

Bug: https://github.com/curl/curl/discussions/11919#discussioncomment-8687105
Reported-by: awesomekosm@users.noreply.github.com

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

show more ...

3ccce37711-Mar-2024 Daniel Stenberg

tool_getparam: handle non-existing (out of range) short-options

... correctly, even when they follow an existing one without a space in
between.

Verify with test 467

Fo

tool_getparam: handle non-existing (out of range) short-options

... correctly, even when they follow an existing one without a space in
between.

Verify with test 467

Follow-up to 07dd60c05b
Reported-by: Geeknik Labs
Fixes #13101
Closes #13102

show more ...

4e4e8af111-Mar-2024 Stefan Eissing

lib: move 'done' parameter to SingleRequests

A transfer may do several `SingleRequest`s for its success. This happens
regularly for authentication, follows and retries on failed connecti

lib: move 'done' parameter to SingleRequests

A transfer may do several `SingleRequest`s for its success. This happens
regularly for authentication, follows and retries on failed connections.
The "readwrite()" calls and functions connected to those carried a `bool
*done` parameter to indicate that the current `SingleRequest` is over.
This may happen before `upload_done` or `download_done` bits of
`SingleRequest` are set.

The problem with that is now `write_resp()` protocol handlers are
invoked in places where the `bool *done` cannot be passed up to the
caller. Instead of being a bool in the call chain, it needs to become a
member of `SingleRequest`, reflecting its state.

This removes the `bool *done` parameter and adds the `done` bit to
`SingleRequest` instead. It adds `Curl_req_soft_reset()` for using a
`SingleRequest` in a follow up, clearing `done` and other
flags/counters.

Closes #13096

show more ...

6aeb729b11-Mar-2024 Stefan Eissing

request: clarify message when request has been sent off

Change the "uploaded and fine" message for requests without a body

Reported-by: Karthikdasari0423 on github
Fixes #13093

request: clarify message when request has been sent off

Change the "uploaded and fine" message for requests without a body

Reported-by: Karthikdasari0423 on github
Fixes #13093
Closes #13095

show more ...

cd93765111-Mar-2024 Daniel Stenberg

RELEASE-NOTES: synced

fcef00db08-Mar-2024 Stefan Eissing

lib: keep conn IP information together

new struct ip_quadruple for holding local/remote addr+port

- used in data->info and conn and cf-socket.c
- copy back and forth complete st

lib: keep conn IP information together

new struct ip_quadruple for holding local/remote addr+port

- used in data->info and conn and cf-socket.c
- copy back and forth complete struct
- add 'secondary' to conn
- use secondary in reporting success for ftp 2nd connection

Reported-by: DasKutti on github
Fixes #13084
Closes #13090

show more ...

1ccf1cd908-Mar-2024 Daniel Stenberg

scripts/managen: the new name and home for the manpage generator

It was previously docs/cmdline-opts/gen.pl

Closes #13089

39173f6608-Mar-2024 Daniel Stenberg

VULN-DISCLOSURE-POLICY.md: update detail about CVE requests

curl is a CNA now

Closes #13088

a586b8ca07-Mar-2024 Stefan Eissing

lib: client reader polish

- seek_func/seek_client, use transfer values only
- remove copies held in `struct connectdata`, use only
ever `data->set.seek_func`
- reso

lib: client reader polish

- seek_func/seek_client, use transfer values only
- remove copies held in `struct connectdata`, use only
ever `data->set.seek_func`
- resolves possible issues in multiuse connections
- new mime post reader eliminates need to ever overwriting this

- websockets, remove empty Curl_ws_done() function

Closes #13079

show more ...

12345678910>>...1286