aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-11-26 18:47:03 +0000
committerBart Polot <bart@net.in.tum.de>2013-11-26 18:47:03 +0000
commit913e4ee05b2f43142420101d817699f38ac22d15 (patch)
tree716e1fae3a1948e3f7a03786cc1da153328ea7f2
parentfdbe690beeec04066f18302401096eb5212c3f6a (diff)
downloadgnunet-913e4ee05b2f43142420101d817699f38ac22d15.tar.gz
gnunet-913e4ee05b2f43142420101d817699f38ac22d15.zip
- dont send ACK on dying connections
-rw-r--r--src/mesh/gnunet-service-mesh_connection.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c
index 61fe0f2e2..31ba440e6 100644
--- a/src/mesh/gnunet-service-mesh_connection.c
+++ b/src/mesh/gnunet-service-mesh_connection.c
@@ -2016,6 +2016,12 @@ GMC_send_ack (struct MeshConnection *c, int fwd, int force)
2016 return; 2016 return;
2017 } 2017 }
2018 2018
2019 if (GNUNET_NO != c->destroy)
2020 {
2021 LOG (GNUNET_ERROR_TYPE_DEBUG, " being destroyed, why bother...\n");
2022 return;
2023 }
2024
2019 /* Get available buffer space */ 2025 /* Get available buffer space */
2020 if (GMC_is_terminal (c, fwd)) 2026 if (GMC_is_terminal (c, fwd))
2021 { 2027 {