-LRN: Mark session as completely disconnected later.
authorChristian Grothoff <christian@grothoff.org>
Fri, 22 Jun 2012 17:14:25 +0000 (17:14 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 22 Jun 2012 17:14:25 +0000 (17:14 +0000)
commitef32bc72416e56a918919abb1e147c3b7cad04f8
tree7e430db675aa3aa30c7b1a360f93433b5db371d4
parent257a91106e0630736cbb93d5d027f58414105b36
-LRN: Mark session as completely disconnected later.

  free_neighbour() calls plugin's disconnect() routine, which will invoke
environment session free callback, which will do NOTHING if session is
in "completely disconnected" state (in just "disconnected" state it
will free primary address).

Destroy address in free_address() to make ATS forget the session.

Fixes #2446
src/transport/gnunet-service-transport_neighbours.c