diff --git a/go.mod b/go.mod index fa0d8f0..3b7d1e2 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/PelionIoT/edge-proxy go 1.20 -replace github.com/gorilla/websocket v1.5.1 => github.com/pelioniot/websocket v1.5.1-2 +replace github.com/gorilla/websocket v1.5.1 => github.com/pelioniot/websocket v1.5.1-3 require ( github.com/PelionIoT/remotedialer v1.0.4 diff --git a/go.sum b/go.sum index 5548949..379d97b 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,8 @@ github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7J github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.26.0 h1:03cDLK28U6hWvCAns6NeydX3zIm4SF3ci69ulidS32Q= github.com/onsi/gomega v1.26.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= -github.com/pelioniot/websocket v1.5.1-2 h1:tvxtewU+vEcv1e7jQ6/rwA/vUnguiJsRvHa1BOAr2uo= -github.com/pelioniot/websocket v1.5.1-2/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/pelioniot/websocket v1.5.1-3 h1:aF8M/8I9hU473wSaBlokC8bEdoDBSD242RNMtx/u4lI= +github.com/pelioniot/websocket v1.5.1-3/go.mod h1:ZEWNVsjgTGBOTTYdxizqmz0uZAvwUQoFyKvtDJqfdiM= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/vendor/github.com/gorilla/websocket/proxy.go b/vendor/github.com/gorilla/websocket/proxy.go index 63c2cdf..6b761d9 100644 --- a/vendor/github.com/gorilla/websocket/proxy.go +++ b/vendor/github.com/gorilla/websocket/proxy.go @@ -35,7 +35,7 @@ func init() { proxy.RegisterDialerType("http", func(proxyURL *url.URL, forwardDialer proxy.Dialer) (proxy.Dialer, error) { return &httpProxyDialer{proxyURL: proxyURL, forwardDial: forwardDialer.Dial}, nil }) - proxy.RegisterDialerType("https", func(proxyURL *url.URL, forwardDialer proxy_Dialer) (proxy_Dialer, error) { + proxy.RegisterDialerType("https", func(proxyURL *url.URL, forwardDialer proxy.Dialer) (proxy.Dialer, error) { dialer := &tlsDialer{} return &httpProxyDialer{proxyURL: proxyURL, forwardDial: dialer.Dial}, nil }) diff --git a/vendor/modules.txt b/vendor/modules.txt index 387e627..d4d8ec7 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -17,7 +17,7 @@ github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/flags github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value -# github.com/gorilla/websocket v1.5.1 => github.com/pelioniot/websocket v1.5.1-2 +# github.com/gorilla/websocket v1.5.1 => github.com/pelioniot/websocket v1.5.1-3 ## explicit; go 1.20 github.com/gorilla/websocket # github.com/nxadm/tail v1.4.8