diff --git a/core/http.go b/core/http.go index 8994798..2b79551 100644 --- a/core/http.go +++ b/core/http.go @@ -42,6 +42,9 @@ func newClient() *http.Client { return socks5proxy.Dial(net, addr) }, }, + CheckRedirect: func(req *http.Request, via []*http.Request) error { + return http.ErrUseLastResponse + }, } }