]> git.meshlink.io Git - utcp/commitdiff
Start the connection timeout timer when we have unACKed data.
authorGuus Sliepen <guus@sliepen.org>
Sun, 7 Jul 2019 14:54:25 +0000 (16:54 +0200)
committerGuus Sliepen <guus@sliepen.org>
Sun, 7 Jul 2019 14:54:25 +0000 (16:54 +0200)
Start it when we are have some data to send, and reset it whenever some of
the data is ACKed. Stop the timer if the peer has received all the data.

Also ensure the poll callback is called with len = 0 when the timeout is
hit.


No differences found