forked from quic-go/quic-go
implement a queue for 0-RTT packets
This commit is contained in:
13
internal/protocol/params_test.go
Normal file
13
internal/protocol/params_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package protocol
|
||||
|
||||
import (
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
||||
var _ = Describe("Parameters", func() {
|
||||
It("can queue more packets in the session than in the 0-RTT queue", func() {
|
||||
Expect(MaxSessionUnprocessedPackets).To(BeNumerically(">", Max0RTTQueueLen))
|
||||
Expect(MaxUndecryptablePackets).To(BeNumerically(">", Max0RTTQueueLen))
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user