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 CRLs to rustls feature #2433

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Conversation

ksenia-vazhdaeva
Copy link
Contributor

No description provided.

Copy link
Owner

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

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

Thank you for the PR! I think this'll be a nice addition. I did leave some comments inline, some of which I think should be changed, and others I'm open to hearing the rationale. 🚀

src/tls.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated
@@ -349,6 +349,8 @@ if_hyper! {
#[cfg(feature = "__tls")]
// Re-exports, to be removed in a future release
pub use tls::{Certificate, Identity};
#[cfg(feature = "__rustls")]
pub use tls::Crl;
Copy link
Owner

Choose a reason for hiding this comment

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

Since the other re-exports will be removed from the top-level eventually, we probably shouldn't add this one. People should reach for it from reqwest::tls::....

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right. Thank you. I will fix this.

src/async_impl/client.rs Outdated Show resolved Hide resolved
@ksenia-vazhdaeva
Copy link
Contributor Author

@seanmonstar thank you very much for the review! I hope that this PR will be useful for others. I replied to your comments.

@ksenia-vazhdaeva
Copy link
Contributor Author

@seanmonstar could you, please, review PR after suggested changes?

Copy link
Owner

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

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

Great work, thank you!

@seanmonstar seanmonstar merged commit aba01ff into seanmonstar:master Oct 18, 2024
36 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.

2 participants