implement the MAX_DATA and MAX_STREAM_DATA frames

For gQUIC WINDOW_UPDATEs are converted to MAX_DATA and MAX_STREAM_DATA,
respectively.
This commit is contained in:
Marten Seemann 2017-11-01 15:29:15 +07:00
parent ccb2e9a2df
commit 0f1f1c8d41
18 changed files with 512 additions and 168 deletions

View file

@ -14,11 +14,6 @@ import (
)
var _ = Describe("Streams Map", func() {
const (
versionCryptoStream1 = protocol.Version39
versionCryptoStream0 = protocol.VersionTLS
)
var (
m *streamsMap
finishedStreams map[protocol.StreamID]*gomock.Call
@ -37,8 +32,6 @@ var _ = Describe("Streams Map", func() {
}
BeforeEach(func() {
Expect(versionCryptoStream0.CryptoStreamID()).To(Equal(protocol.StreamID(0)))
Expect(versionCryptoStream1.CryptoStreamID()).To(Equal(protocol.StreamID(1)))
finishedStreams = make(map[protocol.StreamID]*gomock.Call)
})