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

Add default TlsConnector for ureq when native-tls is enabled #564

Merged

Conversation

jose-acevedoflores
Copy link
Contributor

closes #563

Comment on lines +57 to 59
if options.accept_invalid_certs {
#[cfg(feature = "rustls")]
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets see if the compiler will complain about this if being empty when the feature is not enabled.

@codecov
Copy link

codecov bot commented Apr 6, 2023

Codecov Report

Merging #564 (8a6d86f) into master (c7f5965) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

❗ Current head 8a6d86f differs from pull request most recent head 9fa5eba. Consider uploading reports for the commit 9fa5eba to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #564      +/-   ##
==========================================
- Coverage   70.51%   70.50%   -0.02%     
==========================================
  Files          66       66              
  Lines        6679     6680       +1     
==========================================
  Hits         4710     4710              
- Misses       1969     1970       +1     

@Swatinem
Copy link
Member

Swatinem commented Apr 6, 2023

I opened up #565 to fix the clippy errors.

@Swatinem Swatinem merged commit 33abdfb into getsentry:master Apr 7, 2023
12 checks passed
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.

Using ureq with native-tls is not working
2 participants