diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-12-04 17:09:22 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-12-04 17:09:22 +0000 |
commit | c988fa3520d372343a21a19b22ca0a8d473cd47b (patch) | |
tree | f0f0b343bbc97b8d36881c8cace990343c641ad9 /src | |
parent | ce3e782c901dbc1edf7462f7ad534715ec22733f (diff) | |
download | gnunet-c988fa3520d372343a21a19b22ca0a8d473cd47b.tar.gz gnunet-c988fa3520d372343a21a19b22ca0a8d473cd47b.zip |
- dont authorize a client to send more data in case a duplicate CHANNEL_ACK is received while the connection buffer is full
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh_channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c index 123b208a0..9bc8646bf 100644 --- a/src/mesh/gnunet-service-mesh_channel.c +++ b/src/mesh/gnunet-service-mesh_channel.c | |||
@@ -1064,7 +1064,8 @@ channel_confirm (struct MeshChannel *ch, int fwd) | |||
1064 | rel = fwd ? ch->root_rel : ch->dest_rel; | 1064 | rel = fwd ? ch->root_rel : ch->dest_rel; |
1065 | rel->client_ready = GNUNET_YES; | 1065 | rel->client_ready = GNUNET_YES; |
1066 | rel->expected_delay = rel->retry_timer; | 1066 | rel->expected_delay = rel->retry_timer; |
1067 | send_client_ack (ch, fwd); | 1067 | if (GMT_get_connections_buffer (ch->t) > 0 || GMT_is_loopback (ch->t)) |
1068 | send_client_ack (ch, fwd); | ||
1068 | 1069 | ||
1069 | if (GNUNET_SCHEDULER_NO_TASK != rel->retry_task) | 1070 | if (GNUNET_SCHEDULER_NO_TASK != rel->retry_task) |
1070 | { | 1071 | { |