diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9b226e..345d3f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: name: Test strategy: matrix: - go-version: [1.13.x, 1.14.x] + go-version: [1.13.x, 1.14.x, 1.20.x] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: diff --git a/proxy.go b/proxy.go index 89298d7..ea60f98 100644 --- a/proxy.go +++ b/proxy.go @@ -13,12 +13,11 @@ type Proxy struct { sentBytes uint64 receivedBytes uint64 laddr, raddr *net.TCPAddr - // lconn, rconn io.ReadWriteCloser - lconn, rconn net.Conn - erred bool - errsig chan bool - tlsUnwrapp bool - tlsAddress string + lconn, rconn net.Conn + erred bool + errsig chan bool + tlsUnwrapp bool + tlsAddress string Matcher func([]byte) Replacer func([]byte) []byte