设置了gout.WithInsecureSkipVerify() 忽略SSL 代理就会失效 ,socks5/http/https 都会出现这种情况
m7rick opened this issue · comments
package main
import (
"github.com/guonaihong/gout"
)
func main() {
client := gout.NewWithOpt(gout.WithProxy("http://127.0.0.1:7897"), gout.WithInsecureSkipVerify())
client.GET("https://api.ipify.org?format=json").Debug(true).Do()
}
设置了gout.WithInsecureSkipVerify() 忽略SSL 代理就会失效 ,socks5/http/https 都会出现这种情况
我看下。
试下master上面的最新commit 6081e7f
可以了,谢谢作者了