record InSlowStart and InRecovery

This commit is contained in:
Marten Seemann
2019-04-08 10:51:13 +09:00
parent 73f83ca4bb
commit fcb0d6cfdc
5 changed files with 41 additions and 5 deletions

View File

@@ -20,5 +20,7 @@ type SendAlgorithm interface {
// A SendAlgorithmWithDebugInfos is a SendAlgorithm that exposes some debug infos
type SendAlgorithmWithDebugInfos interface {
SendAlgorithm
InSlowStart() bool
InRecovery() bool
GetCongestionWindow() protocol.ByteCount
}