Fix xgress proxy write recurssion. Fixes openziti/fabric#402

This commit is contained in:
Paul Lorenz
2022-05-16 17:35:07 -04:00
parent 84455c4530
commit 3ae5c39cb4
-4
View File
@@ -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)
}