mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
move constants used by the received packet handler to ackhandler package
This commit is contained in:
parent
41d7cbb014
commit
8fc0f53a8d
3 changed files with 10 additions and 10 deletions
|
@ -98,7 +98,7 @@ var _ = Describe("receivedPacketHandler", func() {
|
|||
It("queues an ACK for every RetransmittablePacketsBeforeAck retransmittable packet, if they are arriving fast", func() {
|
||||
receiveAndAck10Packets()
|
||||
p := protocol.PacketNumber(11)
|
||||
for i := 0; i < protocol.RetransmittablePacketsBeforeAck-1; i++ {
|
||||
for i := 0; i < retransmittablePacketsBeforeAck-1; i++ {
|
||||
err := handler.ReceivedPacket(p, time.Time{}, true)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
Expect(handler.ackQueued).To(BeFalse())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue