941b56d7 | 02-Jan-2024 |
Daniel Stenberg |
tool: prepend output_dir in header callback When Content-Disposition parsing is used and an output dir is prepended, make sure to store that new file name correctly so that it can be use
tool: prepend output_dir in header callback When Content-Disposition parsing is used and an output dir is prepended, make sure to store that new file name correctly so that it can be used for setting the file timestamp when --remote-time is used. Extended test 3012 to verify. Co-Authored-by: Jay Satiro Reported-by: hgdagon on github Fixes #12614 Closes #12617
show more ...
|
1d8e8c9a | 02-Jan-2024 |
Daniel Stenberg |
test1254: fix typo in name plus shorten it |
7d103f00 | 02-Jan-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
aff26089 | 01-Jan-2024 |
Viktor Szakats |
schannel: fix `-Warith-conversion` gcc 13 warning ``` lib/vtls/schannel.c:1201:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Warith-conversion]
schannel: fix `-Warith-conversion` gcc 13 warning ``` lib/vtls/schannel.c:1201:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Warith-conversion] 1201 | *extension_len = *list_len + | ^ ``` Closes #12616
show more ...
|
f0ea11b5 | 01-Jan-2024 |
Viktor Szakats |
asyn-thread: silence `-Wcast-align` warning for Windows Seen with llvm/clang 17: ``` lib/asyn-thread.c:310:5: warning: cast from 'PCHAR' (aka 'char *') to 'struct thread_sync_data *'
asyn-thread: silence `-Wcast-align` warning for Windows Seen with llvm/clang 17: ``` lib/asyn-thread.c:310:5: warning: cast from 'PCHAR' (aka 'char *') to 'struct thread_sync_data *' increases required alignment from 1 to 8 [-Wcast-align] 310 | CONTAINING_RECORD(overlapped, struct thread_sync_data, w8.overlapped); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .../llvm-mingw/aarch64-w64-mingw32/include/winnt.h:717:48: note: expanded from macro 'CONTAINING_RECORD' 717 | #define CONTAINING_RECORD(address,type,field) ((type *)((PCHAR)(address) - (ULONG_PTR)(&((type *)0)->field))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` Follow-up to a6bbc87f9e9ffb46a1801dfb983e7534825ed56b #12482 Ref: https://github.com/curl/curl/pull/12482#issuecomment-1873017261 Closes #12615
show more ...
|
b23255af | 31-Dec-2023 |
Daniel Stenberg |
tool_listhelp: regenerate after recent .d updates Makes it survive test 1478 Closes #12612 |
0f1bb61e | 31-Dec-2023 |
Daniel Stenberg |
test1478: verify src/tool_listhelp.c Verify that the source file on disk is identical to the output of gen.pl listhelp, as otherwise they are out of sync and need attention. Clo
test1478: verify src/tool_listhelp.c Verify that the source file on disk is identical to the output of gen.pl listhelp, as otherwise they are out of sync and need attention. Closes #12612
show more ...
|
12f832d9 | 31-Dec-2023 |
Daniel Stenberg |
testutil: make runtests support %include Using this instruction, a test case can include the contents of a file into the test during the preprocessing. Closes #12612 |
8620b11c | 01-Jan-2024 |
Daniel Stenberg |
runtests: for mode="text" on <stdout>, fix newlines on both parts Closes #12612 |
b83729a3 | 26-Dec-2023 |
Jay Satiro |
quiche: return CURLE_HTTP3 on send to invalid stream Prior to this change if a send failed on a stream in an invalid state (according to quiche) and not marked as closed (according to li
quiche: return CURLE_HTTP3 on send to invalid stream Prior to this change if a send failed on a stream in an invalid state (according to quiche) and not marked as closed (according to libcurl) then the send function would return CURLE_SEND_ERROR. We already have similar code for ngtcp2 to return CURLE_HTTP3 in this case. Caught by test test_07_upload.py: test_07_22_upload_parallel_fail. Fixes https://github.com/curl/curl/issues/12590 Closes https://github.com/curl/curl/pull/12597
show more ...
|
373d3449 | 31-Dec-2023 |
Daniel Stenberg |
cmdline-opts: update availability for the *-ca-native options Closes #12613 |
4b6d44f6 | 30-Dec-2023 |
Patrick Monnerat |
openldap: fix STARTTLS It was not working anymore since introduction of connection filters. Also do not attempt to recover from a failing TLS negotiation with CURLUSESSL_TRY.
openldap: fix STARTTLS It was not working anymore since introduction of connection filters. Also do not attempt to recover from a failing TLS negotiation with CURLUSESSL_TRY. Closes #12610
show more ...
|
d16d18cf | 30-Dec-2023 |
Daniel Stenberg |
haproxy-clientip.d: document the arg The arg keyword was missing and therefore not present in the man page. Closes #12611 |
ae75db35 | 29-Dec-2023 |
annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> |
configure: fix no default int compile error in ipv6 detection Closes #12607 |
0af61bff | 29-Dec-2023 |
Dan Fandrich |
CI: Fix use of any-glob-to-all-files in the labeler Despite its name, this atom acts like one-glob-to-all-files and a different syntax with braces must be used to get any-glob-to-all
CI: Fix use of any-glob-to-all-files in the labeler Despite its name, this atom acts like one-glob-to-all-files and a different syntax with braces must be used to get any-glob-to-all-files semantics. Unfortunately, this makes the file completely unreadable. Ref: https://github.com/actions/labeler/issues/731
show more ...
|
69b69536 | 28-Dec-2023 |
Daniel Stenberg |
CURLOPT_AUTOREFERER.3: mention CURLINFO_REFERER |
6f17ead7 | 28-Dec-2023 |
Daniel Stenberg |
CURLINFO_REFERER.3: clarify that it is the *request* header That libcurl itself sent in the most recent request Closes #12605 |
26f002e0 | 28-Dec-2023 |
Jay Satiro |
system_win32: fix a function pointer assignment warning - Use CURLX_FUNCTION_CAST to suppress a function pointer assignment warning. a6bbc87f added lookups of some Windows API
system_win32: fix a function pointer assignment warning - Use CURLX_FUNCTION_CAST to suppress a function pointer assignment warning. a6bbc87f added lookups of some Windows API functions and then cast them like `*(FARPROC*)&Curl_funcname = address`. Some versions of gcc warn about that as breaking strict-aliasing rules so this PR changes those assignments to use CURLX_FUNCTION_CAST. Bug: https://github.com/curl/curl/pull/12581#issuecomment-1869804317 Reported-by: Marcel Raad Closes https://github.com/curl/curl/pull/12602
show more ...
|
aa2c2ab8 | 23-Dec-2023 |
Jay Satiro |
verify-examples.pl: fail verification on unescaped backslash - Check that all backslashes in EXAMPLE are properly escaped. eg manpage must always use `\\n` never `\n`. This
verify-examples.pl: fail verification on unescaped backslash - Check that all backslashes in EXAMPLE are properly escaped. eg manpage must always use `\\n` never `\n`. This is because the manpage requires we always double blackslash to show a single backslash. Prior to this change an erroneous single backslash would pass through and compile even though it would not show correctly in the manpage. Co-authored-by: Daniel Stenberg Ref: https://github.com/curl/curl/pull/12588 Closes https://github.com/curl/curl/pull/12589
show more ...
|
e251e858 | 27-Dec-2023 |
Jay Satiro |
vtls: fix missing multissl version info - Fix erroneous buffer copy logic from ff74cef5. Prior to this change the MultiSSL version info returned to the user was empty.
vtls: fix missing multissl version info - Fix erroneous buffer copy logic from ff74cef5. Prior to this change the MultiSSL version info returned to the user was empty. Closes https://github.com/curl/curl/pull/12599
show more ...
|
f1116031 | 27-Dec-2023 |
Daniel Stenberg |
KNOWN_BUGS: [RTSP] Some methods do not support response bodies Closes #12414 |
fa6e1239 | 27-Dec-2023 |
Patrick Monnerat |
openldap: fix an LDAP crash Reported-by: Ozan Cansel Fixes #12593 Closes #12600 |
68f96fc9 | 27-Dec-2023 |
Daniel Stenberg |
getinfo: CURLINFO_QUEUE_TIME_T Returns the time, in microseconds, during which this transfer was held in a waiting queue before it started "for real". A transfer might be put in a qu
getinfo: CURLINFO_QUEUE_TIME_T Returns the time, in microseconds, during which this transfer was held in a waiting queue before it started "for real". A transfer might be put in a queue if after getting started, it cannot create a new connection etc due to set conditions and limits imposed by the application. Ref: #12293 Closes #12368
show more ...
|
2b221d42 | 27-Dec-2023 |
Daniel Stenberg |
RELEASE-NOTES: synced |
82cbdd83 | 26-Dec-2023 |
Jay Satiro |
examples/sendrecv: fix comment line length Caught by checksrc. |