Browse Source

2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev)

* tcp_in.c: fix bug# 21535 (nrtx not reset correctly in SYN_SENT stat)e
STABLE-2_1_x
kieranm 19 years ago
parent
commit
add4874801
  1. 3
      CHANGELOG
  2. 4
      src/core/tcp_in.c

3
CHANGELOG

@ -526,6 +526,9 @@ HISTORY
++ Bug fixes:
2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev)
* tcp_in.c: fix bug# 21535 (nrtx not reset correctly in SYN_SENT stat)e
2007-12-20 Kieran Mansley (based on patch from Per-Henrik Lundbolm)
* tcp.c, tcp_in.c, tcp_out.c, tcp.h: fix bug #20199 (better handling
of silly window avoidance and prevent lwIP from shrinking the window)

4
src/core/tcp_in.c

@ -539,8 +539,10 @@ tcp_process(struct tcp_pcb *pcb)
timer, otherwise reset it to start again */
if(pcb->unacked == NULL)
pcb->rtime = -1;
else
else {
pcb->rtime = 0;
pcb->nrtx = 0;
}
tcp_seg_free(rseg);

Loading…
Cancel
Save