From 049853362a3eca1691049037dc76763cc4010953 Mon Sep 17 00:00:00 2001 From: jani Date: Tue, 14 Jan 2003 09:38:10 +0000 Subject: [PATCH] ack duplicate segments too to prevent connection hanging when a single transmitted ACK gets lost --- src/core/tcp_in.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/tcp_in.c b/src/core/tcp_in.c index 7f716c02..d58fed15 100644 --- a/src/core/tcp_in.c +++ b/src/core/tcp_in.c @@ -873,6 +873,7 @@ tcp_receive(struct tcp_pcb *pcb) /* must be a duplicate of a packet that has already been correctly handled */ DEBUGF(TCP_INPUT_DEBUG, ("tcp_receive: duplicate seqno %lu\n", seqno)); + tcp_ack_now(pcb); } }