From f3c9a6aad7bc2ee0aad12465537da21a3d8b2882 Mon Sep 17 00:00:00 2001 From: lesismal Date: Sat, 26 Oct 2024 00:51:53 +0800 Subject: [PATCH] clean --- nbhttp/body.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/nbhttp/body.go b/nbhttp/body.go index c409dc4b..37baa7e9 100644 --- a/nbhttp/body.go +++ b/nbhttp/body.go @@ -163,9 +163,6 @@ func (br *BodyReader) append(data []byte) error { //go:norace func NewBodyReader(engine *Engine) *BodyReader { br := bodyReaderPool.Get().(*BodyReader) - br.left = 0 - br.index = 0 - br.buffers = nil br.engine = engine return br }