forked from quic-go/quic-go
use the max_ack_delay when computing the PTO duration
This commit is contained in:
@@ -619,7 +619,7 @@ var _ = Describe("SentPacketHandler", func() {
|
||||
It("uses the granularity for short RTTs", func() {
|
||||
rtt := time.Microsecond
|
||||
updateRTT(rtt)
|
||||
Expect(handler.computePTOTimeout()).To(Equal(protocol.TimerGranularity))
|
||||
Expect(handler.computePTOTimeout()).To(Equal(rtt + protocol.TimerGranularity))
|
||||
})
|
||||
|
||||
It("implements exponential backoff", func() {
|
||||
|
||||
Reference in New Issue
Block a user