mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
remove the flow control manager
This commit is contained in:
parent
6dc453caa3
commit
268c3859fc
25 changed files with 1710 additions and 1942 deletions
|
@ -6,6 +6,7 @@ import (
|
|||
"math"
|
||||
|
||||
"github.com/lucas-clemente/quic-go/ackhandler"
|
||||
"github.com/lucas-clemente/quic-go/internal/flowcontrol"
|
||||
"github.com/lucas-clemente/quic-go/internal/handshake"
|
||||
"github.com/lucas-clemente/quic-go/internal/protocol"
|
||||
"github.com/lucas-clemente/quic-go/internal/wire"
|
||||
|
@ -60,9 +61,9 @@ var _ = Describe("Packet packer", func() {
|
|||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
cryptoStream = &stream{}
|
||||
cryptoStream = &stream{flowController: flowcontrol.NewStreamFlowController(1, false, flowcontrol.NewConnectionFlowController(1000, 1000, nil), 1000, 1000, 1000, nil)}
|
||||
|
||||
streamsMap := newStreamsMap(nil, nil, protocol.PerspectiveServer)
|
||||
streamsMap := newStreamsMap(nil, protocol.PerspectiveServer)
|
||||
streamsMap.streams[1] = cryptoStream
|
||||
streamsMap.openStreams = []protocol.StreamID{1}
|
||||
streamFramer = newStreamFramer(streamsMap, nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue