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

Proxy support #80

Merged
merged 15 commits into from
Oct 10, 2020
Merged

Proxy support #80

merged 15 commits into from
Oct 10, 2020

Conversation

sbstp
Copy link
Owner

@sbstp sbstp commented Oct 5, 2020

  • Add support for configuring proxies
  • Detect proxies using curl like env variables (HTTP_PROXY, HTTPS_PROXY)
  • Normalize TLS interface between native-tls and rustls, both now support adding root certificates and disabling cert validation.

Addresses #77

@sbstp sbstp changed the title Proxy support WIP: Proxy support Oct 5, 2020
src/error.rs Outdated Show resolved Hide resolved
src/request/mod.rs Outdated Show resolved Hide resolved
@sbstp
Copy link
Owner Author

sbstp commented Oct 8, 2020

Hey @adamreichold, hope you are well. I've been working on adding support for proxies in attohttpc. I have something which is almost ready to be merged, just needs a few more tests. Was wondering if you could to take a look.

@sbstp
Copy link
Owner Author

sbstp commented Oct 8, 2020

I remember that you had concerns about the TLS libraries being mutually exclusive. At the moment if both tls features are enabled, only native-tls is built.

src/parsing/buffers.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/request/mod.rs Outdated Show resolved Hide resolved
@sbstp sbstp changed the title WIP: Proxy support Proxy support Oct 10, 2020
@sbstp sbstp merged commit 25c07ab into master Oct 10, 2020
@sbstp sbstp deleted the proxy branch October 10, 2020 21:22
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.

1 participant