Revert "Chore: Three small 'fixes'"

This reverts commit 4e826abebf.
This commit is contained in:
风扇滑翔翼
2025-08-24 08:11:19 +00:00
committed by GitHub
parent 33272a0499
commit e22ecdcb35
5 changed files with 3 additions and 16 deletions
+1 -4
View File
@@ -206,10 +206,7 @@ func (h *Handler) Process(ctx context.Context, network net.Network, connection s
first := buf.FromBytes(make([]byte, buf.Size))
first.Clear()
firstLen, errR := first.ReadFrom(connection)
if errR != nil {
return errR
}
firstLen, _ := first.ReadFrom(connection)
errors.LogInfo(ctx, "firstLen = ", firstLen)
reader := &buf.BufferedReader{