mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
rename MaxReceivePacketSize to MaxPacketBufferSize
We use the same buffer size for sending and receiving packets.
This commit is contained in:
parent
fb5a45ac53
commit
82ac6dcf6d
14 changed files with 26 additions and 26 deletions
|
@ -180,7 +180,7 @@ var _ = Describe("Send Stream", func() {
|
|||
defer GinkgoRecover()
|
||||
defer close(done)
|
||||
mockSender.EXPECT().onHasStreamData(streamID)
|
||||
_, err := strWithTimeout.Write(getData(protocol.MaxReceivePacketSize + 3))
|
||||
_, err := strWithTimeout.Write(getData(protocol.MaxPacketBufferSize + 3))
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
}()
|
||||
waitForWrite()
|
||||
|
@ -208,7 +208,7 @@ var _ = Describe("Send Stream", func() {
|
|||
defer GinkgoRecover()
|
||||
defer close(done)
|
||||
mockSender.EXPECT().onHasStreamData(streamID)
|
||||
_, err := str.Write(getData(protocol.MaxReceivePacketSize))
|
||||
_, err := str.Write(getData(protocol.MaxPacketBufferSize))
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
}()
|
||||
waitForWrite()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue