You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./https.go:63: cannot use hpkpDialConf.NewDialer() (type func(string, string) (net.Conn, error)) as type func(string, string, *tls.Config) (net.Conn, error) in assignment
Trying to use your dialer against http2.Transport seems to fail
Looks like http2.Transport.DialTLS expects
See: https://github.com/golang/net/blob/master/http2/transport.go
Where your DialTLS doesn't accept a tls.Config
https://github.com/tam7t/hpkp/blob/master/dialer.go
My Error:
Code is here:
https://github.com/GinoM/dingo/tree/hpkp-pinning
Your code works fine against http.Transport though.
I feel like there is probably a better solution but maybe you can add something like
The text was updated successfully, but these errors were encountered: