hashicorp / go-retryablehttp

Retryable HTTP client in Go
Mozilla Public License 2.0
1.99k stars 251 forks source link

fix: using errors.As to check x509 error #202

Open fatelei opened 1 year ago

fatelei commented 1 year ago

using errors.As to check error is x509 or not, fix #201

errors.As is imported golang 1.13

hashicorp-cla commented 1 year ago

CLA assistant check
All committers have signed the CLA.

fatelei commented 1 year ago

i am not sure how to check retry number to assert in test