- try to work if both RELIABLE and NOBUFFER options are selected
authorBart Polot <bart@net.in.tum.de>
Mon, 22 Jul 2013 16:03:07 +0000 (16:03 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 22 Jul 2013 16:03:07 +0000 (16:03 +0000)
src/mesh/gnunet-service-mesh.c

index a0726bf2f48aba0be987a8be54b7fe93e89c945c..4881515c915c94842e1a6327c87879228ab11175 100644 (file)
@@ -2444,7 +2444,7 @@ tunnel_send_ack (struct MeshTunnel *t, uint16_t type, int fwd)
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                   "ACK due to %s\n",
                   GNUNET_MESH_DEBUG_M2S (type));
-      if (GNUNET_YES == t->nobuffer)
+      if (GNUNET_YES == t->nobuffer && (GNUNET_NO == t->reliable || NULL == c))
       {
         GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Not sending ACK, nobuffer\n");
         return;