|
@@ -56,7 +56,7 @@ func configureTransport(t1 *http.Transport) (*Transport, error) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// registerHTTPSProtocol calls Transport.RegisterProtocol but
|
|
// registerHTTPSProtocol calls Transport.RegisterProtocol but
|
|
|
-// convering panics into errors.
|
|
|
|
|
|
|
+// converting panics into errors.
|
|
|
func registerHTTPSProtocol(t *http.Transport, rt http.RoundTripper) (err error) {
|
|
func registerHTTPSProtocol(t *http.Transport, rt http.RoundTripper) (err error) {
|
|
|
defer func() {
|
|
defer func() {
|
|
|
if e := recover(); e != nil {
|
|
if e := recover(); e != nil {
|