mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Initialize THTTPD integration changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2006 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+2
-1
@@ -245,8 +245,9 @@ int net_close(int sockfd)
|
||||
{
|
||||
/* Yes... free the connection structure */
|
||||
|
||||
uip_unlisten(conn); /* No longer accepting connections */
|
||||
uip_unlisten(conn); /* No longer accepting connections */
|
||||
netclose_disconnect(psock); /* Break any current connections */
|
||||
conn->crefs = 0; /* No more references on the connection */
|
||||
uip_tcpfree(conn); /* Free uIP resources */
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user