http: abort probing when request could not be created
authorMichael Stapelberg <stapelberg@google.com>
Tue, 24 Nov 2015 17:10:48 +0000 (18:10 +0100)
committerMichael Stapelberg <stapelberg@google.com>
Tue, 24 Nov 2015 17:14:28 +0000 (18:14 +0100)
commitc085629405b05e6f4bfbc385fb3e1831a0f54da9
tree98a5a3d10bddb11b918fbeda3389a8412c0570b6
parent102e998478231ab34cf52b84e2fc213329ba4d2e
http: abort probing when request could not be created

As per https://play.golang.org/p/4keb0zznDB, passing a nil http.Request
to Client.Do() results in a runtime error.
http.go