forked from quic-go/quic-go
pass packet number and packet number length to frames.Write
This commit is contained in:
@@ -3,6 +3,7 @@ package frames
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
"github.com/lucas-clemente/quic-go/protocol"
|
||||
"github.com/lucas-clemente/quic-go/utils"
|
||||
)
|
||||
|
||||
@@ -12,7 +13,7 @@ type StopWaitingFrame struct {
|
||||
LeastUnackedDelta uint64
|
||||
}
|
||||
|
||||
func (f *StopWaitingFrame) Write(b *bytes.Buffer) error {
|
||||
func (f *StopWaitingFrame) Write(b *bytes.Buffer, packetNumber protocol.PacketNumber, packetNumberLen uint8) error {
|
||||
panic("StopWaitingFrame: Write not yet implemented")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user