diff --git a/go.mod b/go.mod index ded60e7..f1b4c89 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ replace github.com/darren/gpac => github.com/bdwyertech/gpac v0.0.0-202211230052 require ( github.com/bdwyertech/go-scutil v0.0.0-20210306002117-b25267f54e45 - github.com/bdwyertech/proxyplease v0.1.1-0.20221029172251-2566bb378083 + github.com/bdwyertech/proxyplease v0.1.1-0.20221124181130-2c956e798f18 github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819 github.com/jellydator/ttlcache/v2 v2.11.1 github.com/kardianos/service v1.2.2 diff --git a/go.sum b/go.sum index 050ae66..e0edfe3 100644 --- a/go.sum +++ b/go.sum @@ -8,8 +8,8 @@ github.com/bdwyertech/goproxy v0.0.0-20221023183101-a7527e535a15 h1:YOXEVfA9MsZu github.com/bdwyertech/goproxy v0.0.0-20221023183101-a7527e535a15/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/bdwyertech/gpac v0.0.0-20221123005236-07b6d0100900 h1:oiuGF3XOd7kueHzVzE1Tu7CABX3mYOdX9S92XLRzbxM= github.com/bdwyertech/gpac v0.0.0-20221123005236-07b6d0100900/go.mod h1:5plBDgAhkDfbqCDmxhKZqnd26lQwVSLO/R8b2EmWmMU= -github.com/bdwyertech/proxyplease v0.1.1-0.20221029172251-2566bb378083 h1:0QF6vyisIcr0KwcqzJJAYqs9/+ocaHdk6aUnAEKLotw= -github.com/bdwyertech/proxyplease v0.1.1-0.20221029172251-2566bb378083/go.mod h1:seY1bgzh8oC7xJw4NG1vA7+409fVmEyRWGJ2WUMfkLY= +github.com/bdwyertech/proxyplease v0.1.1-0.20221124181130-2c956e798f18 h1:FWcxj0DhWmg3NRd0GikNAQD4w/w/jLuS00T/4i8HO18= +github.com/bdwyertech/proxyplease v0.1.1-0.20221124181130-2c956e798f18/go.mod h1:seY1bgzh8oC7xJw4NG1vA7+409fVmEyRWGJ2WUMfkLY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= diff --git a/vendor/github.com/bdwyertech/proxyplease/connect.go b/vendor/github.com/bdwyertech/proxyplease/connect.go index 29a3e59..da86fb1 100644 --- a/vendor/github.com/bdwyertech/proxyplease/connect.go +++ b/vendor/github.com/bdwyertech/proxyplease/connect.go @@ -38,6 +38,7 @@ func dialAndNegotiateHTTP(p Proxy, addr string, baseDial func() (net.Conn, error debugf("connect> Could not read response from proxy: %s", err) return conn, err } + resp.Body.Close() // if StatusOK, no auth is required and proxy is established if resp.StatusCode == http.StatusOK { diff --git a/vendor/modules.txt b/vendor/modules.txt index cb46bc1..cf3175d 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -11,7 +11,7 @@ github.com/bdwyertech/go-get-proxied/winhttp # github.com/bdwyertech/go-scutil v0.0.0-20210306002117-b25267f54e45 ## explicit; go 1.16 github.com/bdwyertech/go-scutil/proxy -# github.com/bdwyertech/proxyplease v0.1.1-0.20221029172251-2566bb378083 +# github.com/bdwyertech/proxyplease v0.1.1-0.20221124181130-2c956e798f18 ## explicit; go 1.12 github.com/bdwyertech/proxyplease # github.com/darren/gpac v0.0.0-20210609082804-b56d6523a3af => github.com/bdwyertech/gpac v0.0.0-20221123005236-07b6d0100900