Skip to content

Commit

Permalink
proxyproto: remove Conn.NetConn()
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatczuk committed Nov 7, 2024
1 parent 4270c9b commit 4d11825
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions proxyproto/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ type Conn struct {
headerErr error
}

func (c *Conn) NetConn() net.Conn {
return c.Conn
}

func (c *Conn) LocalAddr() net.Addr {
if err := c.readHeader(); err != nil {
return c.Conn.LocalAddr()
Expand Down

0 comments on commit 4d11825

Please sign in to comment.