cyberdelia/heroku-go — pull request #6 by ryanbrainard (2014-11-09 05:22:05+00:00)
Title: Forward CancelRequest to underlying Transport

`http.Client.doFollowingRedirects` only support timeouts if the `http.Transport` is a `canceler`. Even though the underlying `http.DefaultTransport` is a `canceler`, `heroku.Transport` is not, so requests never get cancelled when a timeout is set on `http.Clint`. This change forwards the `CancelRequest` to underlying transport if it is a `canceler`.