View definition

func EnsureTransporterFinalized

Defined in github.com/levigross/grequests/utils.go

Description

EnsureTransporterFinalized will ensure that when the HTTP client is GCed the runtime will close the idle connections (so that they won't leak) this function was adopted from Hashicorp's go-cleanhttp package

EnsureTransporterFinalized is referenced in 1 repository

github.com/levigross/grequests