unify TLP and RTO

This doesn't yet implement the persistent congestion detection, since
the specification of that still is in flux.
This commit is contained in:
Marten Seemann
2018-12-20 16:10:20 +06:30
parent eaad3b2bdf
commit 77d48248ff
6 changed files with 82 additions and 245 deletions

View File

@@ -10,8 +10,7 @@ var _ = Describe("Send Mode", func() {
Expect(SendNone.String()).To(Equal("none"))
Expect(SendAny.String()).To(Equal("any"))
Expect(SendAck.String()).To(Equal("ack"))
Expect(SendRTO.String()).To(Equal("rto"))
Expect(SendTLP.String()).To(Equal("tlp"))
Expect(SendPTO.String()).To(Equal("pto"))
Expect(SendRetransmission.String()).To(Equal("retransmission"))
Expect(SendMode(123).String()).To(Equal("invalid send mode: 123"))
})