cbaa80ae | 06-Dec-2022 |
Daniel Stenberg |
mailmap: Andy Alt |
68ffb406 | 06-Dec-2022 |
Andy Alt |
misc: Fix incorrect spelling Fix various uses of connnect by replacing them with connect. Closes: #10045 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Daniel Gu
misc: Fix incorrect spelling Fix various uses of connnect by replacing them with connect. Closes: #10045 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
show more ...
|
2d3e20a2 | 06-Dec-2022 |
Stefan Eissing |
wolfssl: remove special BIO return code handling - rely solely on the retry flag in BIO, similar to OpenSSL vtls implementation. Ref: https://github.com/curl/curl/pull/10021#i
wolfssl: remove special BIO return code handling - rely solely on the retry flag in BIO, similar to OpenSSL vtls implementation. Ref: https://github.com/curl/curl/pull/10021#issuecomment-1336147053 Closes #10033
show more ...
|
5ec75924 | 05-Dec-2022 |
Daniel Stenberg |
openssl: return -1 on error in the BIO callbacks BIO_read and BIO_write return negative numbers on error, including retryable ones. A regression from 55807e6. Both branches should be
openssl: return -1 on error in the BIO callbacks BIO_read and BIO_write return negative numbers on error, including retryable ones. A regression from 55807e6. Both branches should be returning -1. The APIs are patterned after POSIX read and write which, similarly, return -1 on errors, not zero, with EAGAIN treated as an error. Bug: https://github.com/curl/curl/issues/10013#issuecomment-1335308146 Reported-by: David Benjamin Closes #10021
show more ...
|
0ed8ff2d | 05-Dec-2022 |
Ryan Schmidt |
config-mac: remove HAVE_SYS_SELECT_H When compiling for classic Mac OS with GUSI, there is no sys/select.h. GUSI provides the "select" function prototype in sys/time.h. Closes #
config-mac: remove HAVE_SYS_SELECT_H When compiling for classic Mac OS with GUSI, there is no sys/select.h. GUSI provides the "select" function prototype in sys/time.h. Closes #10039
show more ...
|
82b34813 | 27-Aug-2022 |
Ryan Schmidt |
setup: do not require __MRC__ defined for Mac OS 9 builds Partially reverts "somewhat protect Mac OS X users from using Mac OS 9 config file", commit 62519bfe059251af2914199f284c736553ff
setup: do not require __MRC__ defined for Mac OS 9 builds Partially reverts "somewhat protect Mac OS X users from using Mac OS 9 config file", commit 62519bfe059251af2914199f284c736553ff0489. Do things that are specific to classic Mac OS (i.e. include config-mac.h in curl_setup.h and rename "main" to "curl_main" in tool_setup.h) when only "macintosh" is defined. Remove the additional condition that "__MRC__" should be defined since that would only be true with the MPW MrC compiler which prevents the use of other reasonable compilers like the MPW SC compiler and especially the Metrowerks CodeWarrior compilers. "macintosh" is only defined by classic Mac OS compilers so this change should not affect users of Mac OS X / OS X / macOS / any other OS. Closes #10037
show more ...
|
d502270e | 05-Dec-2022 |
Ryan Schmidt |
curl.h: name all public function parameters Most public function parameters already have names; this adds those that were missing. Closes #10036 |
8fd21840 | 06-Dec-2022 |
Andy Alt |
docs/examples: spell correction ('Retrieve') Closes #10040 |
f3fc089d | 05-Dec-2022 |
Daniel Stenberg |
unit1302: slightly extended To test more base64 decoding |
c6f602c9 | 05-Dec-2022 |
Daniel Stenberg |
base64: faster base64 decoding - by using a lookup table instead of strchr() - by doing full quantums first, then padding Closes #10032 |
8fe33a96 | 05-Dec-2022 |
Michael Musset |
libssh2: return error when ssh_hostkeyfunc returns error return CURLE_PEER_FAILED_VERIFICATION if verification with the callback return a result different than CURLKHMATCH_OK Cl
libssh2: return error when ssh_hostkeyfunc returns error return CURLE_PEER_FAILED_VERIFICATION if verification with the callback return a result different than CURLKHMATCH_OK Closes #10034
show more ...
|
2b584fff | 05-Dec-2022 |
Viktor Szakats |
Makefile.mk: improve a GNU Make hack [ci skip] Replace the hack of using `$() ` to represent a single space. The new method silences the `--warn-undefined-variables` debug warning and it
Makefile.mk: improve a GNU Make hack [ci skip] Replace the hack of using `$() ` to represent a single space. The new method silences the `--warn-undefined-variables` debug warning and it's also a better-known form of solving this problem. Reviewed-by: Jay Satiro Closes #10031
show more ...
|
6b30f288 | 05-Dec-2022 |
Daniel Stenberg |
tests/unit/.gitignore: ignore all unit + 4 digits files |
fc02a780 | 03-Dec-2022 |
Daniel Stenberg |
base64: encode without using snprintf For speed. In some tests, this approch is 29 times faster! Closes #10026 |
fa467a2f | 03-Dec-2022 |
Daniel Stenberg |
base64: better alloc size The previous algorithm allocated more bytes than necessary. Suggested-by: xtonik on github Fixes #10024 Closes #10025 |
29bb9ba4 | 27-Aug-2022 |
Ryan Schmidt |
config-mac: fix typo: size_T -> size_t Both MPW and CodeWarrior compilers complained about this. Closes #10029 |
f8ad07c0 | 03-Dec-2022 |
Daniel Stenberg |
RELEASE-NOTES: synced |
52279c8e | 02-Dec-2022 |
Jakub Zakrzewski |
CMake: fix build with `CURL_USE_GSSAPI` CMAKE_*_LINKER_FLAGS must be a string but GSS_LINKER_FLAGS is a list, so we need to replace semicolons with spaces when setting those. Fi
CMake: fix build with `CURL_USE_GSSAPI` CMAKE_*_LINKER_FLAGS must be a string but GSS_LINKER_FLAGS is a list, so we need to replace semicolons with spaces when setting those. Fixes #9017 Closes #1022
show more ...
|
a4fd257c | 02-Dec-2022 |
Max Dymond |
ci: Reuse fuzzing snippet from curl-fuzzer project |
a2f5a4ca | 16-Nov-2022 |
Diogo Teles Sant'Anna |
GHA: clarify workflows permissions, set least possible privilege Set top-level permissions to None on all workflows, setting per-job permissions. This avoids that new jobs inherit unwant
GHA: clarify workflows permissions, set least possible privilege Set top-level permissions to None on all workflows, setting per-job permissions. This avoids that new jobs inherit unwanted permissions. Discussion: https://curl.se/mail/lib-2022-11/0028.html Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com> Closes #9928
show more ...
|
8fc24233 | 02-Dec-2022 |
Viktor Szakats |
Makefile.mk: address minor issues - Fix `NROFF` auto-detection with certain shell/make-build combinations: When a non-MSYS2 GNU Make runs inside an MSYS2 shell, Make executes
Makefile.mk: address minor issues - Fix `NROFF` auto-detection with certain shell/make-build combinations: When a non-MSYS2 GNU Make runs inside an MSYS2 shell, Make executes the detection command as-is via `CreateProcess()`. It fails because `command` is an `sh` built-in. Ensure to explicitly invoke the shell. - Initialize user-customizable variables: Silences a list of warnings when running GNU Make with the option `--warn-undefined-variables`. Another benefit is that it's now easy to look up all user-customizable `Makefile.mk` variables by grepping for ` ?=` in the curl source tree. Suggested-by: Gisle Vanem Ref: https://github.com/curl/curl/pull/9764#issuecomment-1330674433 - Fix `MKDIR` invocation: Avoid a warning and potential issue in envs without forward-slash support. Closes #10000
show more ...
|
73c4f969 | 23-Nov-2022 |
Rob de Wit |
curl_get_line: allow last line without newline char improve backwards compatibility Test 3200 verifies Closes #9973 |
73d6f414 | 02-Dec-2022 |
Daniel Stenberg |
cookie: open cookie jar as a binary file On Windows there is a difference and for text files, ^Z means end of file which is not desirable. Ref: #9973 Closes #10017 |
3dfb6aea | 01-Dec-2022 |
Daniel Stenberg |
runtests: only do CRLF replacements for hyper if it is HTTP Closes #10016 |
5c27f6c4 | 01-Dec-2022 |
Stefan Eissing |
openssl: fix for BoringSSL BIO result interpretation mixups Reported-by: Robin Marx Fixes #10013 Closes #10015 |