use ackhandler.Frame directly, not as a pointer, remove its sync.Pool (#3835)

This commit is contained in:
Marten Seemann
2023-06-02 14:56:18 +03:00
committed by GitHub
parent f8d24ef1e9
commit 0438eada95
12 changed files with 74 additions and 103 deletions

View File

@@ -29,7 +29,7 @@ var _ = Describe("ack-eliciting frames", func() {
})
It("HasAckElicitingFrames works for "+fName, func() {
Expect(HasAckElicitingFrames([]*Frame{{Frame: f}})).To(Equal(e))
Expect(HasAckElicitingFrames([]Frame{{Frame: f}})).To(Equal(e))
})
}
})