set LeastUnackedDelta length in StopWaitingFrame

fixes #79
This commit is contained in:
Marten Seemann
2016-05-12 13:05:42 +07:00
parent aaf4b0ae9e
commit 33c0f3a5df
15 changed files with 187 additions and 51 deletions

View File

@@ -28,6 +28,6 @@ func (f *PingFrame) Write(b *bytes.Buffer, packetNumber protocol.PacketNumber, v
}
// MinLength of a written frame
func (f *PingFrame) MinLength() protocol.ByteCount {
return 1
func (f *PingFrame) MinLength() (protocol.ByteCount, error) {
return 1, nil
}