diff --git a/mc/mc.go b/mc/mc.go index 820299c..16a18f3 100644 --- a/mc/mc.go +++ b/mc/mc.go @@ -58,6 +58,9 @@ func MultiCurl(method, urlString, resolveType string) int { tr.DisableKeepAlives = true cli := http.Client{ Transport: tr, + CheckRedirect: func(req *http.Request, via []*http.Request) error { + return http.ErrUseLastResponse + }, } for i, addr := range addrs { log.Infof("%d: Fetching from %s", i, addr)