|
From: | Gao Qingshui |
Subject: | [lwip-devel] [bug #52403] netconn: FIN may be sent instead of RST when TCP netconn is closed with pending data in recv_mbox |
Date: | Mon, 20 Nov 2017 02:03:28 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 |
Follow-up Comment #7, bug #52403 (project lwip): Simon,there are two cases for TCP socket which would make 'lastdata' was not NULL. 1st, the MSG_PEEK recv/recvfrom operation mentioned previously; 2nd, normal recv/recvfrom, but the user buffer was shorter than the data length of first segment in recvmbox. I tested on version 1.4.1 and 2.0.3 and found both have this issue. So what is the 'new code' in your comments? _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?52403> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |