-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
net/http: DialTLS is not used w/ proxy (by design) #9126
Comments
Brad - are you open to accepting a patch akin to patchset #3 (https://codereview.appspot.com/137940043/#ps40001) for go1.5? |
I'm having a hard time understanding the original bug report. Can you start over in English without referencing old bugs or submitted CLs, starting with where we're at now in Go 1.4? What isn't possible? |
1.4 introduced an optional DialTLS function on http.Transport. However, it is not used when a proxy is in use. I'm calling REST APIs over https and I need to check for acceptable server certificates (a whitelist) after the handshake w/ or w/o a proxy present on the client. Proposed Add an optional verification callback to tls.Config that lets the callee inspect the certs. This would be called during the handshake for client or server.
|
by joshua.boelter:
The text was updated successfully, but these errors were encountered: