|
From: | Bill Auerbach |
Subject: | [lwip-devel] [bug #36494] tcp_recved is not called when a remote TCP connection is closed |
Date: | Fri, 18 May 2012 20:58:51 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0 |
URL: <http://savannah.nongnu.org/bugs/?36494> Summary: tcp_recved is not called when a remote TCP connection is closed Project: lwIP - A Lightweight TCP/IP stack Submitted by: billauerbach Submitted on: Fri 18 May 2012 04:58:50 PM EDT Category: TCP Severity: 3 - Normal Item Group: Faulty Behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: CVS Head _______________________________________________________ Details: Using NO_SYS=1 and the RAW callback API, I just discovered that when a remote TCP connection is closed (a normal close) tcp_recved is not called with struct pbuf *p == NULL but instead tcp_err is called. That conflicts with how I think it used to be and definitely with how the Wiki describes closing a socket should be handled. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?36494> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |