From: Guus Sliepen Date: Sun, 18 Oct 2015 18:31:34 +0000 (+0200) Subject: Log when we start retransmission. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=7034cc75e0324210e96b3da5ac09c979b73173b7;p=utcp Log when we start retransmission. --- diff --git a/utcp.c b/utcp.c index 5427c3e..c21d6ab 100644 --- a/utcp.c +++ b/utcp.c @@ -1321,6 +1321,7 @@ struct timeval utcp_timeout(struct utcp *utcp) { if(!c) continue; + // delete connections that have been utcp_close()d. if(c->state == CLOSED) { if(c->reapable) { debug("Reaping %p\n", c); @@ -1339,6 +1340,7 @@ struct timeval utcp_timeout(struct utcp *utcp) { } if(timerisset(&c->rtrx_timeout) && timercmp(&c->rtrx_timeout, &now, <)) { + debug("retransmit()\n"); retransmit(c); }