Skip to content

Commit

Permalink
Revert "*: add a 1 minute HTTP inactivity timeout"
Browse files Browse the repository at this point in the history
This reverts commit febc683.
  • Loading branch information
aktau committed Apr 7, 2017
1 parent 27cc45a commit 26d8f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 78 deletions.
4 changes: 2 additions & 2 deletions github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func DoAuthRequest(method, url, mime, token string, headers map[string]string, b
return nil, err
}

resp, err := client.Do(req)
resp, err := http.DefaultClient.Do(req)
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -149,7 +149,7 @@ func (c Client) getPaginated(uri string) (io.ReadCloser, error) {
v.Set("access_token", c.Token)
}
u.RawQuery = v.Encode()
resp, err := client.Get(u.String())
resp, err := http.Get(u.String())
if err != nil {
return nil, err
}
Expand Down
76 changes: 0 additions & 76 deletions github/http.go

This file was deleted.

0 comments on commit 26d8f4f

Please sign in to comment.