From 1ba5f4c56c38b3c986dabb5d0feced74d81cd490 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 19 Oct 2015 21:18:14 +0200 Subject: [PATCH] Ensure FIN packets start the retransmission timer as well. --- utcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utcp.c b/utcp.c index c93d4bb..89a38b7 100644 --- a/utcp.c +++ b/utcp.c @@ -1262,6 +1262,8 @@ int utcp_shutdown(struct utcp_connection *c, int dir) { c->snd.last++; ack(c, false); + if(!timerisset(&c->rtrx_timeout)) + start_retransmit_timer(c); return 0; } -- 2.39.5