From f8e3d1fe3888acaf227e3fac449e1725ee33db2d Mon Sep 17 00:00:00 2001 From: pathletboy Date: Thu, 10 Dec 2015 20:49:22 +0800 Subject: [PATCH] fix issue #116 --- goreq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goreq.go b/goreq.go index 27a1561..5865e3a 100644 --- a/goreq.go +++ b/goreq.go @@ -303,7 +303,7 @@ func (r Request) Do() (*Response, error) { transport = proxyTransport client = proxyClient } - + client.Timeout = r.Timeout client.CheckRedirect = func(req *http.Request, via []*http.Request) error { if len(via) > r.MaxRedirects {