refactor timer calculation in sesssion to reduce syscalls

This commit is contained in:
Lucas Clemente
2016-05-24 17:42:14 +02:00
parent 55fe1390b3
commit d4a189b2d1
6 changed files with 49 additions and 44 deletions

View File

@@ -21,7 +21,7 @@ type SentPacketHandler interface {
CongestionAllowsSending() bool
CheckForError() error
TimeToFirstRTO() time.Duration
TimeOfFirstRTO() time.Time
}
// ReceivedPacketHandler handles ACKs needed to send for incoming packets