]> granicus.if.org Git - esp-idf/commit
lwip: optimize TCP close
authorLiu Zhi Fu <liuzhifu@espressif.com>
Wed, 19 Jul 2017 01:15:11 +0000 (09:15 +0800)
committerLiu Zhi Fu <liuzhifu@espressif.com>
Thu, 27 Jul 2017 04:44:39 +0000 (12:44 +0800)
commit4ad1f2b272b590d5d7258daa22a40c75dabf8e67
treeda40178d3d87ca4f1d5657f0d67cfe6b7309f1a3
parent843159b0d7284ba560345af312a1e7f8b14d19e7
lwip: optimize TCP close

Optimize TCP close:
1. Not remove TCP pcb when IP address is changed since the lwip netconn still need the pcb
2. If the TCP connection is in TCP_FIN_WAIT_1 for too long time, remove it
components/lwip/core/tcp.c
components/lwip/core/tcp_out.c