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

Documentation around secured vs. unsecured proxies #22

Open
shutton opened this issue Feb 28, 2021 · 0 comments
Open

Documentation around secured vs. unsecured proxies #22

shutton opened this issue Feb 28, 2021 · 0 comments

Comments

@shutton
Copy link

shutton commented Feb 28, 2021

The documentation around what comprises a "Secured" vs "Regular" proxy is a bit thin. I was trying to track down some issues around the fact that I use a proxy wrapper whether or not a proxy is in use (which keeps our types a bit simpler -- we just create a proxy with Intercept::None set and provide a bogus proxy server). But if you do this without using the from_proxy_unsecured ProxyConnector constructor, a BadDER error gets thrown.

Obviously, I fixed my particular implementation, but the documentation for both ProxyConnector::from_proxy and ProxyConnector::from_proxy_unsecured is the same ("Create a proxy connector and attach a particular proxy").

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

No branches or pull requests

1 participant