fix traffic stall in case the is more messages queued in the tunnel buffer than a...
authorBart Polot <bart@net.in.tum.de>
Thu, 30 Apr 2015 11:00:34 +0000 (11:00 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 30 Apr 2015 11:00:34 +0000 (11:00 +0000)
src/cadet/gnunet-service-cadet_tunnel.c

index 9c3fff2275789313871268cf0ac21c6fb52d6b65..b4eca603d62873f5534a845a66bea88bdda65baa 100644 (file)
@@ -4048,6 +4048,9 @@ GCT_unchoke_channels (struct CadetTunnel *t)
   if (NULL != t->channel_head)
     LOG (GNUNET_ERROR_TYPE_DEBUG, " head ch: %p\n", t->channel_head->ch);
 
+  if (NULL != t->tq_head)
+    send_queued_data (t);
+
   /* Get buffer space */
   buffer = GCT_get_connections_buffer (t);
   if (0 == buffer)