forked from quic-go/quic-go
add packetParse.Empty()
This commit is contained in:
@@ -156,3 +156,8 @@ func (p *packetPacker) composeNextPacket(stopWaitingFrame *frames.StopWaitingFra
|
||||
|
||||
return payloadFrames, nil
|
||||
}
|
||||
|
||||
// Empty returns true if no frames are queued
|
||||
func (p *packetPacker) Empty() bool {
|
||||
return p.streamFrameQueue.Front() == nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user