search for: tcp_rst

Displaying 1 result from an estimated 1 matches for "tcp_rst".

Did you mean: tcp_rr
2016 Jul 04
1
[PATCH] core/lwip: Avoid 3-second delay for a half-open connection
...-git a/core/lwip/src/core/tcp_in.c b/core/lwip/src/core/tcp_in.c index 9095264..d410dab 100644 --- a/core/lwip/src/core/tcp_in.c +++ b/core/lwip/src/core/tcp_in.c @@ -675,6 +675,9 @@ tcp_process(struct tcp_pcb *pcb) /* send a RST to bring the other side in a non-synchronized state. */ tcp_rst(ackno, seqno + tcplen, ip_current_dest_addr(), ip_current_src_addr(), tcphdr->dest, tcphdr->src); + /* Resend SYN immediately to establish connection */ + pcb->rtime = 0; + tcp_rexmit_rto(pcb); } break; case SYN_RCVD: -- 2.3.8