From 5048a30fc748c06ddb9741a45e540411ef77c612 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 6 Dec 2011 21:21:44 +0100 Subject: [PATCH] Another fix for bug #32417 (debug assert that fires) --- src/core/tcp_out.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/tcp_out.c b/src/core/tcp_out.c index 49c9679a..1bbd587e 100644 --- a/src/core/tcp_out.c +++ b/src/core/tcp_out.c @@ -989,6 +989,9 @@ tcp_output(struct tcp_pcb *pcb) pcb->flags &= ~(TF_ACK_DELAY | TF_ACK_NOW); } +#if TCP_OVERSIZE_DBGCHECK + seg->oversize_left = 0; +#endif /* TCP_OVERSIZE_DBGCHECK */ tcp_output_segment(seg, pcb); snd_nxt = ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg); if (TCP_SEQ_LT(pcb->snd_nxt, snd_nxt)) {