summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* RELEASE-NOTES: syncedHEADcurl-8_1_0masterDaniel Stenberg2023-05-171-12/+19
|
* THANKS: contributors from the 8.1.0 releaseDaniel Stenberg2023-05-171-0/+35
|
* hostip: include easy_lock.h before using GLOBAL_INIT_IS_THREADSAFEDaniel Stenberg2023-05-172-15/+4
| | | | | | | | | | Since that header file is the only place that define can be defined. Reported-by: Marc Deslauriers Follow-up to 13718030ad4b3209 Closes #11121
* aws-sigv4.d: fix region identifier in exampleThomas Taylor2023-05-161-1/+1
| | | | Closes #11117
* mlc_config.json: remove this linkcheck CI job config filePhilip H2023-05-152-12/+0
| | | | Closes #11113
* ssh: Add support for libssh2 read timeoutDaniel Silverstone2023-05-152-1/+14
| | | | | | | | | | | | Hook the new (1.11.0 or newer) libssh2 support for setting a read timeout into the SERVER_RESPONSE_TIMEOUT option. With this done, clients can use the standard curl response timeout setting to also control the time that libssh2 will wait for packets from a slow server. This is necessary to enable use of very slow SFTP servers. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk> Closes #10965
* GIT-INFO: add --with-opensslOsama Albahrani2023-05-141-1/+1
| | | | Closes #11110
* RELEASE-NOTES: syncedDaniel Stenberg2023-05-131-11/+17
|
* md(4|5): don't use deprecated iOS functionsMarcel Raad2023-05-132-6/+10
| | | | | | | | | | | They are marked as deprecated in iOS 13.0, which might result in warnings-as-errors. Also, use `*_MIN_REQUIRED` instead of `*_MIN_ALLOWED`, which seems to be what's currently used. Bug: https://github.com/curl/curl/issues/11098 Closes https://github.com/curl/curl/pull/11102
* md4: only build when usedMarcel Raad2023-05-132-3/+3
| | | | | | | | Its only usage in curl_ntlm_core.c is guarded by `USE_CURL_NTLM_CORE`, so let's use this here too. Ref: https://github.com/curl/curl/issues/11098 Closes https://github.com/curl/curl/pull/11102
* write-out.d: Use response_code in exampleVítor Galvão2023-05-121-1/+1
| | | | Closes #11107
* url: fix null dispname for --connect-to optionShohei Maeda2023-05-121-5/+5
| | | | Closes #11106
* test2306: verify getting a second response with folded headersDaniel Stenberg2023-05-124-2/+124
| | | | | | Reproduces the isue #11101 and verifies the fix. Verifies a17b2a503f
* headers: clear (possibly) lingering pointer in initDaniel Stenberg2023-05-121-0/+1
| | | | | | | | | | The "prevhead" pointer is used for the headers storage but was not cleared correctly in init, which made it possible to act up when a handle is reused. Reported-by: Steve Herrell Fixes #11101 Closes #11103
* RELEASE-NOTES: syncedDaniel Stenberg2023-05-121-7/+19
|
* ngtcp2: use 0.15.0Daniel Stenberg2023-05-125-37/+34
| | | | | | | | | - nghttp3 0.11.0 - nghttp2 1.53.0 Adapt to new API calls Closes #11031
* openssl: fix indentJay Satiro2023-05-101-1/+1
|
* CURLOPT_DNS_CACHE_TIMEOUT.3: fix spellingDaniel Stenberg2023-05-101-1/+1
| | | | | | Follow-up to 9ed7d56e044f5aa1b29 Closes #11096
* hostip: use time_t for storing oldest DNS entryDaniel Stenberg2023-05-091-6/+10
| | | | | | | | | | Theoretically, the oldest time could overflow an int. In practice that won't happen, but let's do this to please analyzers. Follow-up to 9ed7d56e044f5aa1b2928ccde6245d0 Pointed out by Coverity. Closes #11094
* http: free the url before storing a new copyDaniel Stenberg2023-05-091-1/+1
| | | | | | | | To avoid a memory-leak. Reported-by: Hiroki Kurosawa Closes #11093
* compressed.d: clarify the words on "not notifying headers"Daniel Stenberg2023-05-091-1/+5
| | | | | | Reported-by: Dylan Anthony Fixes #11091 Closes #11092
* libssh2: free fingerprint betterDaniel Stenberg2023-05-081-2/+1
| | | | | Reported-by: Wei Chong Tan Closes #11088
* CURLOPT_IPRESOLVE.3: clarify that this for host names, not IP addressesDaniel Stenberg2023-05-081-2/+7
| | | | | Reported-by: Harry Sintonen Closes #11087
* hostip: enforce a maximum DNS cache size independent of timeout valueDaniel Stenberg2023-05-082-13/+42
| | | | | | | | | | To reduce the damage an application can cause if using -1 or other ridiculous timeout values and letting the cache live long times. The maximum number of entries in the DNS cache is now totally arbitrarily and hard-coded set to 29999. Closes #11084
* hostip: store dns timeout as 'int'Daniel Stenberg2023-05-081-2/+2
| | | | | ... because it set and held as an 'int' elsewhere and can never be larger.
* RELEASE-NOTES: syncedDaniel Stenberg2023-05-081-10/+51
|
* tool_operate: refuse (--data or --form) and --continue-at comboDaniel Stenberg2023-05-083-9/+54
| | | | | | | | | | | | | libcurl assumes that a --continue-at resumption is done to continue an upload using the read callback and neither --data nor --form use that and thus won't do what the user wants. Whatever the user wants with this strange combination. Add test 426 to verify. Reported-by: Smackd0wn on github Fixes #11081 Closes #11083
* transfer: refuse POSTFIELDS + RESUME_FROM comboDaniel Stenberg2023-05-081-0/+6
| | | | | | | | | | | | | The code assumes that such a resume is wanting to continue an upload using the read callback, and since POSTFIELDS is done without callback libcurl will just misbehave. This combo will make the transfer fail with CURLE_BAD_FUNCTION_ARGUMENT with an explanation in the error message. Reported-by: Smackd0wn on github Fixes #11081 Closes #11083
* ipv4.d/ipv6.d: they are "mutex", not "boolean"Daniel Stenberg2023-05-082-6/+6
| | | | | | | | ... which for example means they do not have --no-* versions. Reported-by: Harry Sintonen Fixes #11085 Closes #11086
* docs/SECURITY-ADVISORY.md: how to write a curl security advisoryDaniel Stenberg2023-05-083-1/+132
| | | | Closes #11080
* MANUAL.md: add dict example for looking up a single definitionnobedee on github2023-05-051-2/+5
| | | | Closes #11077
* runtests: fix -c option when run with valgrindDan Fandrich2023-05-053-10/+27
| | | | | | | | | | The curl binary argument wasn't being quoted properly. This seems to have broken at some point after quoting was added in commit 606b29fe. Reported-by: Daniel Stenberg Ref: #11073 Fixes #11074 Closes #11076
* runtests: support creating more than one runner processDan Fandrich2023-05-052-33/+72
| | | | | | | The controller currently only creates and uses one, but more are now possible. Ref: #10818
* runtests: spawn a new process for the test runnerDan Fandrich2023-05-053-21/+110
| | | | | | | | | | | When the -j option is given, a new process is spawned in which the test programs are run and from which test servers are started. Only one process can be started at once, but this is sufficient to test that the infrastructure can isolate those functions in a new task. There should be no visible difference between the two modes at the moment. Ref: #10818 Closes #11064
* runtests: turn singletest() into a state machineDan Fandrich2023-05-052-140/+210
| | | | | | This allows it to run in a non-blocking manner. Ref: #10818
* runtests: change runner interface to be asynchronousDan Fandrich2023-05-052-14/+210
| | | | | | | | | | | | | | Program arguments are marshalled and then written to the end of a pipe which is later read from and the arguments unmarshalled before the desired function is called normally. The function return values are then marshalled and written into another pipe when is later read from and unmarshalled before being returned to the caller. The implementation is currently blocking but can be made non-blocking without any changes to the API. This allows calling multiple runners without blocking in the future. Ref: #10818
* runtests: call citest_finishtest in singletestDan Fandrich2023-05-051-8/+21
| | | | | | This is where citest_starttest is called. Ref: #10818
* runtests: add a runner initialization functionDan Fandrich2023-05-052-16/+37
| | | | | | This sets up the runner environment to start running tests. Ref: #10818
* runtests: remove directory from server filename variablesDan Fandrich2023-05-054-54/+58
| | | | | | | | There will soon be multiple log directories so the paths will no longer be static in runtests.pl. Also, get rid of $SERVER2IN which was not used. Ref: #10818
* runtests: reduce package exports after refactoringDan Fandrich2023-05-052-36/+15
| | | | | | | | Some recent refactoring made these export no longer necessary. Also, stop displaying the Unix socket paths at startup since there will soon be many of them and they're not that interesting. Ref: #10818
* runtests: use a function to obtain $LOGDIR for a testDan Fandrich2023-05-052-21/+44
| | | | | | This will no longer be static soon. Ref: #10818
* tool_cb_hdr: Fix 'Location:' formatting for early VTE terminalsJay Satiro2023-05-051-0/+9
| | | | | | | | | | | | | - Disable hyperlink formatting for the 'Location:' header value in VTE 0.48.1 and earlier, since it is buggy in some of those versions. Prior to this change those terminals may show the location header value as gibberish or show it twice. Ref: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#backward-compatibility Fixes https://github.com/curl/curl/issues/10428 Closes https://github.com/curl/curl/pull/11071
* quiche: disable pacing while pacing is not actually performedFrançois Michel2023-05-031-0/+1
| | | | Closes #11068
* easy_cleanup: require a "good" handle to actDaniel Stenberg2023-05-021-8/+6
| | | | | | | | | By insisting that the passed in handle is "good" (the magic number is intact), this can limit the potential damage if a bad pointer is passed in. Like when this function is called twice on the same handle pointer. Ref: #10964 Closes #11061
* amiga: Fix CA certificate paths for AmiSSL and MorphOSAndreas Falkenhahn2023-05-011-0/+8
| | | | | | | AmiSSL stores certificates in `AmiSSL:Certs` and MorphOS stores them in `MOSSYS:Data/SSL/curl-ca-bundle.crt`. Closes https://github.com/curl/curl/pull/11059
* http2: (void)-mark when we explicitly ignore the return codeDaniel Stenberg2023-04-301-2/+2
| | | | | | When h2_progress_egress() is called. Pointed out by Coverity. Closes #11057
* checksrc: find bad indentation in conditions without open braceDaniel Stenberg2023-04-2817-23/+49
| | | | | | | | | | | If the previous line starts with if/while/for AND ends with a closed parenthesis and there's an equal number of open and closed parentheses on that line, verify that this line is indented $indent more steps, if not a cpp line. Also adjust the fall-out from this fix. Closes #11054
* CI: Set minimal permissions on workflow ngtcp2-quictls.ymlDiogo Teles Sant'Anna2023-04-281-0/+2
| | | | | | Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com> Closes #11055
* CI: use another glob syntax for matching files on AppveyorDan Fandrich2023-04-281-4/+4
| | | | | | The previous globbing syntax was not matching files recursively in directories, so try appending a /* to more closely match the examples at https://www.appveyor.com/docs/how-to/filtering-commits/
* multi: add multi-ignore logic to multi_socket_actionDaniel Stenberg2023-04-281-5/+16
| | | | | | | | | | | | The multi-ignore logic that was previously applied to curl_multi_perform() (#10750) is here applied to the loop within curl_multi_socket_action() to make it use the same optimization: most handles have the same signal-ignore option state so this drastically reduces the number of ignore/unignore calls per libcurl function invoke. Follow-up to bc90308328afb8 Closes #11045