mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
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
This commit is contained in:
parent
8cc32bc29c
commit
add4874801
@ -526,6 +526,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bug fixes:
|
++ 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)
|
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
|
* 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)
|
of silly window avoidance and prevent lwIP from shrinking the window)
|
||||||
|
@ -539,8 +539,10 @@ tcp_process(struct tcp_pcb *pcb)
|
|||||||
timer, otherwise reset it to start again */
|
timer, otherwise reset it to start again */
|
||||||
if(pcb->unacked == NULL)
|
if(pcb->unacked == NULL)
|
||||||
pcb->rtime = -1;
|
pcb->rtime = -1;
|
||||||
else
|
else {
|
||||||
pcb->rtime = 0;
|
pcb->rtime = 0;
|
||||||
|
pcb->nrtx = 0;
|
||||||
|
}
|
||||||
|
|
||||||
tcp_seg_free(rseg);
|
tcp_seg_free(rseg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user