From 17353bc0a47c89bda205f23e7995377c9bfe7769 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 19 Jun 2013 09:28:45 +0000 Subject: [PATCH] - document bug #2896: domunet tunnel_destroy behavior --- src/include/gnunet_mesh2_service.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/include/gnunet_mesh2_service.h b/src/include/gnunet_mesh2_service.h index 18724fd38..c69ac2bfd 100644 --- a/src/include/gnunet_mesh2_service.h +++ b/src/include/gnunet_mesh2_service.h @@ -206,10 +206,13 @@ GNUNET_MESH_tunnel_create (struct GNUNET_MESH_Handle *h, /** - * Destroy an existing tunnel. The existing end callback for the tunnel will - * be called. + * Destroy an existing tunnel. + * + * The existing end callback for the tunnel will be called immediately. + * Any pending outgoing messages will be sent but no incoming messages will be + * accepted and no data callbacks will be called. * - * @param tunnel tunnel handle + * @param tunnel Tunnel handle, becomes invalid after this call. */ void GNUNET_MESH_tunnel_destroy (struct GNUNET_MESH_Tunnel *tunnel); -- 2.25.1