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:
patacongo
2009-08-02 15:08:09 +00:00
parent ea16dce2f3
commit 4322c23e43
6 changed files with 43 additions and 28 deletions
+2 -1
View File
@@ -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