Use also path->rtt to compute tx timeout
This commit is contained in:
1 parent
1b58401095
commit
6b3001e6d8
1 file changed
+1
-1
@@ -843,7 +843,7 @@ int mud_push (struct mud *mud)
|
||||
uint64_t now = mud_now(mud);
|
||||
|
||||
if ((path->send.time > path->recv.time) &&
|
||||
(path->send.time-path->recv.time > UINT64_C(200000)))
|
||||
(path->send.time-path->recv.time > UINT64_C(200000)+path->rtt*4))
|
||||
path->up = 0;
|
||||
|
||||
if (path->send.time &&
|
||||
|
||||
Reference in new issue
Block a user