]> git.meshlink.io Git - utcp/commit
Disable callbacks when closing a connection.
authorGuus Sliepen <guus@meshlink.io>
Tue, 2 Dec 2014 16:14:13 +0000 (17:14 +0100)
committerGuus Sliepen <guus@meshlink.io>
Tue, 2 Dec 2014 16:14:13 +0000 (17:14 +0100)
commitb4e6d4bac314221a8bdb522daef24b606f143cee
tree0bb825249ee91ac3bf3f8f3713db8f599d79d177
parent62454c16e18ba9ed03b5bc55ea59d28d666d8a48
Disable callbacks when closing a connection.

When an application calls utcp_close() on a previously established
connection, the utcp_connection is kept around to handle FIN(ACK)
packets. However, the peer could still send some data, which should not
trigger the receive callback.
utcp.c