implement a queue for 0-RTT packets

This commit is contained in:
Marten Seemann
2020-01-02 18:34:43 +08:00
parent abf55af7e9
commit 2b7133a6e2
6 changed files with 233 additions and 13 deletions

View 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))
})
})