eeaae10c | 31-May-2022 |
Daniel Stenberg |
netrc: support quoted strings The .netrc parser now accepts strings within double-quotes in order to deal with for example passwords containing white space - which previously was not
netrc: support quoted strings The .netrc parser now accepts strings within double-quotes in order to deal with for example passwords containing white space - which previously was not possible. A password that starts with a double-quote also ends with one, and double-quotes themselves are escaped with backslashes, like \". It also supports \n, \r and \t for newline, carriage return and tabs respectively. If the password does not start with a double quote, it will end at first white space and no escaping is performed. WARNING: this change is not entirely backwards compatible. If anyone previously used a double-quote as the first letter of their password, the parser will now get it differently compared to before. This is highly unfortunate but hard to avoid. Reported-by: ImpatientHippo on GitHub Fixes #8908 Closes #8937
show more ...
|
b1f8d50a | 30-May-2022 |
Daniel Stenberg |
curl_getdate.3: document that some illegal dates pass through Closes #8938 |
07a400c8 | 30-May-2022 |
Daniel Stenberg |
CI: remove configure --enable-headers-api flags |
4d94fac9 | 30-May-2022 |
Daniel Stenberg |
headers api: remove EXPERIMENTAL tag Closes #8900 |
739275a1 | 30-May-2022 |
Daniel Gustafsson |
cookies: fix documentation comment Commit 4073cd83b2 added the noexpire parameter to Curl_cookie_add but missed updating the documentation comment at the head of the file. |
2d7044a1 | 29-May-2022 |
Marc Hoersken |
tests/data/test1940: use binary mode for expected stdout The generated stdout data is written in binary mode with [LF] line endings, therefore we also need to do a binary comparison.
tests/data/test1940: use binary mode for expected stdout The generated stdout data is written in binary mode with [LF] line endings, therefore we also need to do a binary comparison. Assisted-by: Jay Satiro Assisted-by: Daniel Stenberg Follow up to c9b60f005358a364cbcddbebd8d12593acffdd84 Fixes #8920 Closes #8936
show more ...
|
22eab9d4 | 28-May-2022 |
Daniel Stenberg |
CURLINFO_CAINFO/PATH.3: clarify the multiple TLS situation Spell out the multi-TLS situation. Reported-by: Dan Fandrich Fixes #8926 Closes #8932 |
10cd6962 | 28-May-2022 |
JustAnotherArchivist |
tool_getparam: fix --parallel-max maximum value constraint - Clamp --parallel-max to MAX_PARALLEL (300) instead of resetting to default value. Previously, --parallel-max 300 w
tool_getparam: fix --parallel-max maximum value constraint - Clamp --parallel-max to MAX_PARALLEL (300) instead of resetting to default value. Previously, --parallel-max 300 would use 300 concurrent transfers, but --parallel-max 301 would unexpectedly use only 50. This change clamps higher values to the maximum (ie --parallel-max 301 would use 300). Closes https://github.com/curl/curl/pull/8930
show more ...
|
f51ffdb3 | 27-May-2022 |
Daniel Stenberg |
curl.1: add a few see also --tls-max Closes #8929 |
a77d14d2 | 26-May-2022 |
Viktor Szakats |
cmake: do not add libcurl.rc to the static libcurl library Fixes: https://github.com/curl/curl/pull/8918#issuecomment-1138263855 Reviewed-By: Karlson2k@users.noreply.github.com
cmake: do not add libcurl.rc to the static libcurl library Fixes: https://github.com/curl/curl/pull/8918#issuecomment-1138263855 Reviewed-By: Karlson2k@users.noreply.github.com Closes #8923
show more ...
|
435f395f | 26-May-2022 |
Viktor Szakats |
cmake: support adding a suffix to the OS value CMake automatically uses the `CMAKE_SYSTEM_NAME` value to fill the OS string appearing in the --version output after the curl version numbe
cmake: support adding a suffix to the OS value CMake automatically uses the `CMAKE_SYSTEM_NAME` value to fill the OS string appearing in the --version output after the curl version number, for example: 'curl 7.83.1 (Windows)' This patchs adds the ability to pass a suffix that is appended to this value. It's useful to add CPU info or other platform details, for example: 'curl 7.83.1 (Windows-x64)' Closes #8919
show more ...
|
2e769766 | 26-May-2022 |
Viktor Szakats |
cmake: enable curl.rc for all Windows targets Before this patch, it was only enabled for MSVC. This syncs this configuration with libcurl.rc, which was already included with every Wi
cmake: enable curl.rc for all Windows targets Before this patch, it was only enabled for MSVC. This syncs this configuration with libcurl.rc, which was already included with every Windows compiler. Closes #8918
show more ...
|
a01e8430 | 26-May-2022 |
Viktor Szakats |
cmake: fix detecting libidn2 Without this patch, libidn2 detection doesn't even seem to be attempted. With this patch, cmake can be configured to pick it up and enable it. Necessary
cmake: fix detecting libidn2 Without this patch, libidn2 detection doesn't even seem to be attempted. With this patch, cmake can be configured to pick it up and enable it. Necessary configuration remains manual and differs from most other dependencies. If you are aware of a better fix, we're glad hearing about it in a new Issue. Closes #8917
show more ...
|
d67f41ac | 25-May-2022 |
Viktor Szakats |
version: allow stricmp() for sorting the feature list In CMakeLists.txt there is an attempt to detect `stricmp()`, and in certain cases, this attempt is the only successful one to detect
version: allow stricmp() for sorting the feature list In CMakeLists.txt there is an attempt to detect `stricmp()`, and in certain cases, this attempt is the only successful one to detect a case-insensitive comparison function. `HAVE_STRICMP` is defined as a result, but this macro wasn't used anywhere in the source. This patch makes use of it as an alternative when alpha-sorting the `--version` feature list. Reviewed-by: Daniel Stenberg Closes #8916
show more ...
|
ba6a3fd3 | 25-May-2022 |
Daniel Stenberg |
DISABLED: add six tests that fail with hyper 1117 1274 1940 1941 1942 1943 |
b67dcc8e | 25-May-2022 |
Daniel Stenberg |
c-hyper: mark status line as status for Curl_client_write() To make sure the headers API can filter it out as not a regular header. Reported-by: Gisle Vanem Fixes #8894 Clos
c-hyper: mark status line as status for Curl_client_write() To make sure the headers API can filter it out as not a regular header. Reported-by: Gisle Vanem Fixes #8894 Closes #8914
show more ...
|
2d5b8048 | 24-May-2022 |
Marc Hoersken |
tests/data/test1501: kill ftp server after slow LIST response This test is contributing to flakiness on the Windows CI runs. Killing the ftp server after the test run like other slowness
tests/data/test1501: kill ftp server after slow LIST response This test is contributing to flakiness on the Windows CI runs. Killing the ftp server after the test run like other slowness tests already do may help resolve or reduce the flakiness. Closes #8907
show more ...
|
5bf1ff00 | 25-May-2022 |
Daniel Stenberg |
headers: fix the unfold realloc to use proper new size Previously it didn't take the old name length into acount Follow-up to: c9b60f005358a364 Closes #8913 |
498ecdfd | 17-May-2022 |
Marc Hoersken |
GHA: align all install, configure and build steps again First step towards more unified build steps on GitHub Actions. Closes #8873 |
519e5e5f | 24-May-2022 |
Marc Hoersken |
CI/azure: remove obsolete strategy for single builds This shortens these CI job names on GitHub even more. Follow up to #8906 which also increased their timeout. Closes #8911 |
945c4bb7 | 24-May-2022 |
Marc Hoersken |
CI/azure: shorten names of Windows CI jobs Suggested-by: Daniel Stenberg Closes #8906 |
c9b60f00 | 24-May-2022 |
Daniel Stenberg |
http: restore header folding behavior Folded header lines will now get passed through like before. The headers API is adapted and will provide the content unfolded. Added test 1
http: restore header folding behavior Folded header lines will now get passed through like before. The headers API is adapted and will provide the content unfolded. Added test 1274 and extended test 1940 to verify. Reported-by: Petr Pisar Fixes #8844 Closes #8899
show more ...
|
16a58e9f | 24-May-2022 |
Viktor Szakats |
Makefile.m32: delete obsolete options, improve -On [ci skip] - `-D_AMD64_` has not been necessary for mingw-w64 builds for a long time now. - `-fno-strict-aliasing` is mentioned for Inte
Makefile.m32: delete obsolete options, improve -On [ci skip] - `-D_AMD64_` has not been necessary for mingw-w64 builds for a long time now. - `-fno-strict-aliasing` is mentioned for Intel C compiler in autotools, and I used this with VxWorks in another project, but otherwise this isn't necessary anymore as a default. If a target still needs it, it can be added with `CURL_CFLAG_EXTRAS=-fno-strict-aliasing` - bump up default optimization level to `-O3` (from `-O2`), and also rearrange option order so the default can now be overridden via `CURL_CFLAG_EXTRAS`. - delete `-g` (generate debug info) from `CFLAGS` and `-s` from `LDFLAGS` (strip debug info). They were working against each other. Now, if someone needs debug info, it can be enabled via `CURL_CFLAG_EXTRAS=-g` Closes #8904
show more ...
|
a8a1b666 | 24-May-2022 |
Daniel Gustafsson |
ntlm: fix one more hostname test fallout This fixup was missed in commit 5a41abef6dca19. Closes: #8901 Reviewed-by: Daniel Stenberg <daniel@haxx.se> |
e70928b0 | 24-May-2022 |
Daniel Gustafsson |
doh: remove UNITTEST macro definition The UNITTEST macro is defined by curl_setup.h so there is no use in carry a local copy of the logic. Closes: #8902 Reviewed-by: Daniel
doh: remove UNITTEST macro definition The UNITTEST macro is defined by curl_setup.h so there is no use in carry a local copy of the logic. Closes: #8902 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
show more ...
|