-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from curl:master #277
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instead of adjusting roffit, skip the nroff step. Closes #12919
The spacing in the yaml files changed.
* Fix excluded digits at the end of the symbols ('CURL_DISABLE_POP3' was checked as 'CURL_DISABLE_POP') Closes #12903
... instead of the deprecated mbedtls_ssl_conf_{min|max}_version Closes #12905
- Treat TLS connection close (either due to a close_notify from the server or just closed due to receiving 0) as pending data. This is because in some cases schannel_recv knows the connection is closed but has to return actual pending data so it can't return 0 or an error to indicate no more data. In this case schannel_recv must be called again, which only happens if readwrite_data sees that there is still pending data. Prior to this change if the total size of the body that libcurl expected to receive from the server was unknown then it was possible under some network conditions that libcurl would hang waiting to receive more data, when in fact a close_notify alert indicating no more data would be sent was already processed. Fixes #12894 Closes #12910
- Change the 1 second SO_SNDBUF update limit from per transfer to per connection. Prior to this change many transfers over the same connection could cause many SO_SNDBUF updates made to that connection per second, which was unnecessary. Closes #12911
The previous ones are going to be removed soon, plus the new ones include all the fixes since then.
- When verifying a proxy certificate for an ip address, use the correct ip family. Prior to this change the "connection" ip family was used, which was not necessarily the same. Reported-by: [email protected] Fixes #12831 Closes #12931
- When parsing .checksrc chomp the (CR)LF line ending. Prior to this change on Windows checksrc.pl would not process the symbols in .checksrc properly, since many git repos in Windows use auto crlf to check out files with CRLF line endings. Closes #12924
- For file:// transfers use the multi handle's transfer buffer for up- and downloads. Prior to this change a6c9a33 (precedes 8.6.0) changed the file:// transfers to use a smaller stack based buffer, and that caused a significant performance decrease in Windows. Bug: #12750 (comment) Reported-by: [email protected] Closes #12932
libcurl has not supported HTTP pipelining since many years. Remove a few (more) mentions of the feature. Closes #13254
- Explain that CMake's -G option can be used to specify which build system to generate files for. Example: cmake ../curl -G "MinGW Makefiles" Ref: #12224 (comment) Closes #13244
- when an application forces HTTP/1.1 chunked transfer encoding by setting the corresponding header and instructs curl to use the CURLOPT_READFUNCTION, disregard any POST length information. - this establishes backward compatibility with previous curl versions Applications are encouraged to not force "chunked", but rather set length information for a POST. By setting -1, curl will auto-select chunked on HTTP/1.1 and work properly on other HTTP versions. Reported-by: Jeff King Fixes #13229 Closes #13257
OpenSSL moved directories, and bumped versions in AppVeyor CI. Downgrading is not an ideal solution, but however trivial the solution may be, I failed to come with anything that made CMake recognize either OpenSSL 3.1 or 3.2. Possibly caused by: appveyor/build-images@702e8cd appveyor/build-images#149 Closes #13266
Fixes: test 2034...[simple HTTPS GET with DER public key pinning] ==61829== 22,610 (3,744 direct, 18,866 indirect) bytes in 1 blocks are definitely lost in loss record 51 of 54 ==61829== at 0x484BB74: malloc (vg_replace_malloc.c:446) ==61829== by 0x4B53A80: wolfSSL_Malloc (memory.c:344) ==61829== by 0x4C1C8E1: wolfSSL_X509_new (x509.c:5326) ==61829== by 0x4C3977D: d2i_X509orX509REQ (x509.c:3628) ==61829== by 0x4C1D1F4: wolfSSL_X509_d2i (x509.c:3664) ==61829== by 0x4C1C37B: wolfSSL_X509_dup (x509.c:13425) ==61829== by 0x4C197DB: wolfSSL_get_peer_certificate (ssl.c:18765) ==61829== by 0x33297C: wolfssl_connect_step2 (wolfssl.c:875) ==61829== by 0x331669: wolfssl_connect_common (wolfssl.c:1287) ==61829== by 0x3303E9: wolfssl_connect_nonblocking (wolfssl.c:1319) ==61829== by 0x32FE89: ssl_connect_nonblocking (vtls.c:510) ==61829== by 0x32DBE5: ssl_cf_connect (vtls.c:1679) ==61829== by 0x27ABD7: Curl_conn_cf_connect (cfilters.c:307) ==61829== by 0x27D9CF: cf_setup_connect (connect.c:1199) ==61829== by 0x27ABD7: Curl_conn_cf_connect (cfilters.c:307) ==61829== by 0x283CEA: cf_hc_baller_connect (cf-https-connect.c:135) Closes #13272
- install `mk-ca-bundle.pl` like autotools does. - generate and install `mk-ca-bundle.1` and `curl-config.1` like autotools. This fixes tests 1140 and 1173. Reported-by: Dan Fandrich Fixes #13194 - add option `BUILD_MISC_DOCS` to control building the above two manpages. Enabled by default. - appveyor: stop disabling tests 1140 and 1173. Reviewed-by: Daniel Stenberg Closes #13197
Reviewed-by: Daniel Stenberg Closes #13206
This time limit the number of files per command to avoid exceeding limitations of certain OS/shell envs. Such known env is Windows with the `cmd.exe` shell, which features an 8K command-line length limit to this day. Allowlisting `UNIX` to have no limit and using a limit of 200 for other envs to be safe. If there is a way to detect `cmd.exe` and/or we know which precise envs are sensitive to this, we can tweak these conditions further. Even with the low limit, this patch reduces external commands by 200x, making builds much faster. Ref: #12762 2620aa9 (initial) Ref: #13047 f03c856 (revert) Reviewed-by: Daniel Stenberg Closes #13207
Leave one non-unity cmake job. This makes the jobs finish slightly quicker, while giving more coverage for unity issues. Before: https://ci.appveyor.com/project/curlorg/curl/builds/49496977 https://ci.appveyor.com/project/curlorg/curl/builds/49500372 After: https://ci.appveyor.com/project/curlorg/curl/builds/49500338 Also fixup unrelated whitespace. Reviewed-by: Daniel Stenberg Closes #13217
This version still has ELTS support and contains some old versions of key components like cmake to help prevent us from breaking that support. Closes #13029
Unity mode is not supported by CMake v3.7.2 used in linux-old, but enable it anyway for consistency and to kick in automatically once migrating to a newer old Linux in the future. Also: - replace `CMAKE_COMPILE_WARNING_AS_ERROR` with `CURL_WERROR`. - delete default build option `PICKY_COMPILER=ON`. Closes #13277
Fixing: ``` make[2]: Circular docs/curl-config.1 <- docs/curl-config.1 dependency dropped. make[2]: Circular docs/mk-ca-bundle.1 <- docs/mk-ca-bundle.1 dependency dropped. ``` Ref: https://github.com/curl/curl/actions/runs/8559617487/job/23456740844?pr=13282#step:6:18 Follow-up to 5023ffa #13197 Closes #13283
A recent image upgrade added a $HOME/.curlrc by default using --ipv4. Ref: actions/runner-images#9586 Fixes #13284 Closes #13285
Reviewed-by: Daniel Stenberg Closes #13287
- cmake: fix `-pedantic-errors` for old CMake with `CURL_WERROR=ON` set. `-pedantic-errors` option throws a warning with GCC (all versions) and makes `check_symbol_exists()` fail in CMake versions older than v3.23.0 (2022-03-29), when CMake introduced a workaround: https://gitlab.kitware.com/cmake/cmake/-/issues/13208 https://gitlab.kitware.com/cmake/cmake/-/commit/eeb45401163d831b8c841ef6eba81466b4067b68 https://gitlab.kitware.com/cmake/cmake/-/commit/1ab7c3cd28b27ca162c4559e1026e5cad1898ade Follow-up to 3829759 #12489 - set `CURL_WERROR=ON` for the `linux-old` job in CI. Closes #13282
clang doesn't have the issues of GCC and old CMake versions. Note: This introduces asymmetry with autotools, which only enables this for GCC. Reviewed-by: Daniel Stenberg Closes #13286
Reduced size of dynamically_allocated_data structure. Reduced number of stored values in enum dupstring and enum dupblob. This affects the reduced array placed in the UserDefined structure. Closes #13188
- add `CURL_TRC_READ()` and `CURL_TRC_WRITE()` - use in generic client writers and readers, as well as http headers, chunking and websockets Closes #13223
This target generates the MSVC project files. This change removes the extra sorting and instead makes the script use the order of the files as listed in the variables - which are mostly sorted anyway. This is an attempt to make the project file generation more easily reproducible. Ref: #13250 Closes #13294
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )