forked from quic-go/quic-go
remove outdated comments
This commit is contained in:
@@ -61,7 +61,6 @@ func (c *flowController) UpdateSendWindow(newOffset protocol.ByteCount) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: remove once the Stream doesn't use it anymore
|
|
||||||
func (c *flowController) SendWindowSize() protocol.ByteCount {
|
func (c *flowController) SendWindowSize() protocol.ByteCount {
|
||||||
sendFlowControlWindow := c.getSendFlowControlWindow()
|
sendFlowControlWindow := c.getSendFlowControlWindow()
|
||||||
|
|
||||||
|
|||||||
@@ -569,7 +569,6 @@ func (s *Session) GetOrOpenStream(id protocol.StreamID) (utils.Stream, error) {
|
|||||||
return s.streamsMap.GetOrOpenStream(id)
|
return s.streamsMap.GetOrOpenStream(id)
|
||||||
}
|
}
|
||||||
|
|
||||||
// The streamsMutex is locked by OpenStream or GetOrOpenStream before calling this function.
|
|
||||||
func (s *Session) newStreamImpl(id protocol.StreamID) (*stream, error) {
|
func (s *Session) newStreamImpl(id protocol.StreamID) (*stream, error) {
|
||||||
return s.streamsMap.GetOrOpenStream(id)
|
return s.streamsMap.GetOrOpenStream(id)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type streamFramer struct {
|
type streamFramer struct {
|
||||||
// TODO: Simplify by extracting the streams map into a separate object
|
|
||||||
streamsMap *streamsMap
|
streamsMap *streamsMap
|
||||||
|
|
||||||
flowControlManager flowcontrol.FlowControlManager
|
flowControlManager flowcontrol.FlowControlManager
|
||||||
|
|||||||
Reference in New Issue
Block a user