From 3ae5c39cb4e34b65d6782cf611f8bbaf2779489c Mon Sep 17 00:00:00 2001 From: Paul Lorenz Date: Mon, 16 May 2022 17:35:07 -0400 Subject: [PATCH] Fix xgress proxy write recurssion. Fixes openziti/fabric#402 --- router/xgress_proxy/connection.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/router/xgress_proxy/connection.go b/router/xgress_proxy/connection.go index 4ac0ed538..d2bf309b9 100644 --- a/router/xgress_proxy/connection.go +++ b/router/xgress_proxy/connection.go @@ -37,10 +37,6 @@ func (c *proxyXgressConnection) ReadPayload() ([]byte, map[uint8][]byte, error) return buffer[:n], nil, err } -func (c *proxyXgressConnection) Write(p []byte) (n int, err error) { - return c.Write(p) -} - func (c *proxyXgressConnection) WritePayload(p []byte, headers map[uint8][]byte) (n int, err error) { return c.Write(p) }