Skip to content
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

Sync commits #59

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

coco-speed
Copy link
Collaborator

This pull request was created automatically by CodSpeed to track performance changes of the pull request cloudflare/pingora#340.

The original branch is upstream/bleeper-yuchen-c90e4ce2596840c60b5ff1737e2141447e5953e1

palant and others added 9 commits July 12, 2024 20:54
…d of *const

This PR updates the function signatures in the `ext.rs` file to use `*mut` instead of `*const` for the `ssl` and `cert` parameters in the `SSL_use_certificate` and `SSL_use_PrivateKey` functions. This indicates that the functions can modify the SSL and certificate objects as intended.

Ref:
- https://www.openssl.org/docs/man1.1.1/man3/SSL_use_certificate.html
https://boringssl.googlesource.com/boringssl/+/refs/tags/~~~/ssl/ssl_cert.cc#292

Refactor the `cvt` function to use `c_long` instead of `c_int` for the return type for better compatibility with the types used in the OpenSSL library.

Also, add a test case for the `ssl_set_groups_list` function to ensure it handles valid and invalid input correctly.
---
chore(openssl):fix increase X509 reference count

Includes-commit: 7841271
Includes-commit: e132431
Replicated-from: cloudflare#308
This allows user defined L4 connect() to be used so that they can
customize the connect behavior such as changing socket options and
simulating errors in tests.
Sometimes service dicovery can carry arbitrary information, such as
SNI and request path to instrument how to connect to backend servers.

Backend now support to carry this type of information.
Also remove the doc_async_trait cfg since it is no longer viable.
@coco-speed coco-speed force-pushed the main branch 2 times, most recently from 21bba97 to ca93004 Compare August 2, 2024 19:10
@coco-speed coco-speed force-pushed the main branch 2 times, most recently from 972578d to 143f455 Compare August 16, 2024 17:40
@coco-speed coco-speed force-pushed the main branch 2 times, most recently from 5f4f3a5 to ccdb32c Compare August 23, 2024 21:55
@coco-speed coco-speed force-pushed the main branch 4 times, most recently from 238a17a to fa851d6 Compare August 30, 2024 18:20
@coco-speed coco-speed force-pushed the main branch 2 times, most recently from d94ad0d to 4b82093 Compare September 20, 2024 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants