- notify clients when a tunnel times out
authorBart Polot <bart@net.in.tum.de>
Sat, 29 Sep 2012 00:27:56 +0000 (00:27 +0000)
committerBart Polot <bart@net.in.tum.de>
Sat, 29 Sep 2012 00:27:56 +0000 (00:27 +0000)
src/mesh/gnunet-service-mesh.c

index ac519d20d8e2c6ba2e6042045dbe7dfcf595ffaf..80a6b4ba18ad4d3bbfc2d736851362216cd96548 100644 (file)
@@ -4410,6 +4410,7 @@ tunnel_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
               "Tunnel %s [%X] timed out. Destroying.\n",
               GNUNET_i2s(&id), t->id.tid);
+  send_clients_tunnel_destroy (t);
   tunnel_destroy (t);
 }