From 7cc8739c7f232f7225ea684074a62830857e1738 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 30 Apr 2015 11:00:34 +0000 Subject: [PATCH] fix traffic stall in case the is more messages queued in the tunnel buffer than a connection would accept at once --- src/cadet/gnunet-service-cadet_tunnel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 9c3fff227..b4eca603d 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -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) -- 2.25.1