diff --git a/protocol.go b/protocol.go index 3b40306..1cdf10f 100644 --- a/protocol.go +++ b/protocol.go @@ -43,10 +43,10 @@ type Conn struct { once sync.Once readErr error conn net.Conn - Validate Validator bufReader *bufio.Reader header *Header ProxyHeaderPolicy Policy + Validate Validator readHeaderTimeout time.Duration }