[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #34111] TCP_FIN_WAIT_TIMEOUT might be too small
From: |
tao tang |
Subject: |
[lwip-devel] [bug #34111] TCP_FIN_WAIT_TIMEOUT might be too small |
Date: |
Tue, 30 Aug 2011 15:13:33 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.20) Gecko/20110803 Firefox/3.6.20 |
Follow-up Comment #3, bug #34111 (project lwip):
1: The wrong *seqno* cause the peer end doesn't close connection succefully.
2: In my opinion, 20s is enough for FIN-WAIT-2 even if the device based on
lwIP is working in wireless network.
For these two reasons, I suggest adjusting *seqno* to a proper value.
For the state of machine is LISTEN,
tcp_in.c#tcp_listen_input
- tcp_rst(ackno + 1, seqno + tcplen, ......);
+ tcp_rst(ackno, seqno + tcplen, ......);
Hope it will be OK then! But I don't know the reason that the origin author
add 1, anyone know it please tell me!
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34111>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/