fix typo in error message in sent packet handler

This commit is contained in:
Marten Seemann 2020-08-21 13:31:02 +07:00
parent 6472e9f143
commit 166d91ae0f

View file

@ -634,7 +634,7 @@ func (h *sentPacketHandler) onVerifiedLossDetectionTimeout() error {
case protocol.Encryption1RTT:
h.ptoMode = SendPTOAppData
default:
return fmt.Errorf("TPO timer in unexpected encryption level: %s", encLevel)
return fmt.Errorf("PTO timer in unexpected encryption level: %s", encLevel)
}
} else {
if h.perspective == protocol.PerspectiveServer {