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

ensure rustls is used when feature is activated #147

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

GustavoWidman
Copy link
Contributor

when using the "rustls" feature, the reqwest client didn't actually end up using it. apparently, you also need to add use_rustls_tls() to the client builder. this makes sure that endpoints that need http/2 requests (like the gemini one) actually work 👍

seanmonstar/reqwest#2350 (comment)

also sorry for uploading this twice im incredibly sleep deprived

@dongri
Copy link
Owner

dongri commented Feb 2, 2025

LGTM

@dongri dongri merged commit b6a1d8f into dongri:main Feb 2, 2025
1 check passed
@GustavoWidman GustavoWidman deleted the rustls-fix branch February 2, 2025 13:23
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.

2 participants