| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Make it shorter and imperative form
|
|
|
|
|
| |
Bug: https://curl.se/mail/lib-2021-01/0063.html
Closes #6434
|
| |
|
|
|
|
| |
Ref #6379
|
|
|
|
|
|
|
| |
Follow-up to a1f06f32b860, to make sure it can be handled separately
from plain gopher.
Closes #6418
|
|
|
|
| |
Closes #6419
|
|
|
|
| |
Fixed by #6411
|
|
|
|
|
|
| |
Makes test 80 run
Closes #6406
|
| |
|
|
|
|
|
|
| |
Mostly thanks to this archived web page for urlget:
https://web.archive.org/web/19980216125115/http://www.inf.ufrgs.br/~sagula/urlget.html
|
|
|
|
|
|
|
|
| |
We currently use both spellings the british "behaviour" and the american
"behavior". However "behavior" is more used in the project so I think
it's worth dropping the british name.
Closes #6395
|
|
|
|
|
| |
Reported-by: Cherish98
Bug: https://curl.se/mail/archive-2020-12/0018.html
|
|
|
|
|
|
| |
To make it more obvious to users what doesn't work (yet)
Closes #6389
|
|
|
|
| |
... and make private functions static.
|
|
|
|
|
|
|
| |
The type of the buffer in curl_read_callback is 'char *', not 'void *'.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Closes #6392
|
|
|
|
| |
Follow-up to 26e46617b9
|
|
|
|
| |
Follow-up to 26e46617b9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extend the syntax of CURLOPT_RESOLVE strings: allow using a '+' prefix
(similar to the existing '-' prefix for removing entries) to add
DNS cache entries that will time out just like entries that are added
by libcurl itself.
Append " (non-permanent)" to info log message in case a non-permanent
entry is added.
Adjust relevant comments to reflect the new behavior.
Adjust documentation.
Extend unit1607 to test the new functionality.
Closes #6294
|
|
|
|
| |
Closes #6385
|
|
|
|
| |
Closes #6380
|
|
|
|
| |
Closes #6375
|
|
|
|
|
| |
Closes #5235
Closes #6370
|
|
|
|
| |
Closes #6366
|
|
|
|
|
|
|
| |
and generally refresh and update. Remove details for ancient versions.
Reviewed-by: Jay Satiro
Closes #6360
|
|
|
|
|
|
| |
Follow-up to ac9a724 from earlier today.
Ref: https://github.com/curl/curl/pull/6359
|
|
|
|
| |
... of current experimental features in curl.
|
|
|
|
|
|
|
|
|
|
|
| |
Paused transfers should not be stopped due to slow speed even when
CURLOPT_LOW_SPEED_LIMIT is set. Additionally, the slow speed timer is
now reset when the transfer is unpaused - as otherwise it would easily
just trigger immediately after unpausing.
Reported-by: Harry Sintonen
Fixes #6358
Closes #6359
|
|
|
|
|
|
| |
... as the warnings tend to go unnoticed otherwise!
Closes #6354
|
|
|
|
|
|
|
| |
... so that (auto)builds from tarballs also get the correct instructions.
Fixes #6176
Closes #6353
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particular, these ones can help a user to create its own error
message when one or transfers fail.
writeout: add 'onerror', 'url', 'urlnum', 'exitcode', 'errormsg'
onerror - lets a user only show the rest on non-zero exit codes
url - the input URL used for this transfer
urlnum - the numerical URL counter (0 indexed) for this transfer
exitcode - the numerical exit code for the transfer
errormsg - obvious
Reported-by: Earnestly on github
Fixes #6199
Closes #6207
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is a security process for HTTP.
It doesn't seems to be standard, but it is used by some cloud providers.
Aws:
https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
Outscale:
https://wiki.outscale.net/display/EN/Creating+a+Canonical+Request
GCP (I didn't test that this code work with GCP though):
https://cloud.google.com/storage/docs/access-control/signing-urls-manually
most of the code is in lib/http_v4_signature.c
Information require by the algorithm:
- The URL
- Current time
- some prefix that are append to some of the signature parameters.
The data extracted from the URL are: the URI, the region,
the host and the API type
example:
https://api.eu-west-2.outscale.com/api/latest/ReadNets
~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
^ ^ ^
/ \ URI
API type region
Small description of the algorithm:
- make canonical header using content type, the host, and the date
- hash the post data
- make canonical_request using custom request, the URI,
the get data, the canonical header, the signed header
and post data hash
- hash canonical_request
- make str_to_sign using one of the prefix pass in parameter,
the date, the credential scope and the canonical_request hash
- compute hmac from date, using secret key as key.
- compute hmac from region, using above hmac as key
- compute hmac from api_type, using above hmac as key
- compute hmac from request_type, using above hmac as key
- compute hmac from str_to_sign using above hmac as key
- create Authorization header using above hmac, prefix pass in parameter,
the date, and above hash
Signed-off-by: Matthias Gatto <matthias.gatto@outscale.com>
Closes #5703
|
|
|
|
|
|
|
|
| |
This option sets the (octal) mode to use for the remote file when one is
created, using the SFTP, SCP or FILE protocols. When not set, the
default is 0644.
Closes #6244
|
|
|
|
| |
Closes #5204
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
That behavior is a limitation of Apple's Secure Transport.
Reported-by: Cory Benfield
Reported-by: Ian Spence
Confirmed-by: Nick Zitzmann
Ref: https://github.com/curl/curl/issues/998
Closes https://github.com/curl/curl/issues/6347
Closes https://github.com/curl/curl/pull/6348
|
|
|
|
| |
Closes #4908
|
| |
|
| |
|
|
|
|
| |
Closes #6150
|
|
|
|
| |
... for function pointers. Breaks in ancient compilers.
|
| |
|
|
|
|
| |
Closes #5424
|
|
|
|
|
|
|
| |
... and remove the wording about entries from before 2019 as the "within
12 months" is still there and covers that.
Closes #6318
|
|
|
|
| |
Closes https://github.com/curl/curl/issues/6302
|
|
|
|
| |
Closes #6316
|
|
|
|
| |
Closes #6314
|
|
|
|
|
|
|
| |
Note that ports 25 and 587 are common ports for smtp, the former being
the default.
Closes https://github.com/curl/curl/pull/6310
|
|
|
|
|
|
| |
... that are now found in URL-SYNTAX.md
Closes #6307
|
|
|
|
| |
[skip ci]
|
|
|
|
| |
Closes #6311
|