diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_channel.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_channel.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_channel.c b/src/cadet/gnunet-service-cadet-new_channel.c index ebc566c83..8633e7f74 100644 --- a/src/cadet/gnunet-service-cadet-new_channel.c +++ b/src/cadet/gnunet-service-cadet-new_channel.c | |||
@@ -1242,6 +1242,13 @@ GCCH_handle_channel_plaintext_data (struct CadetChannel *ch, | |||
1242 | 1242 | ||
1243 | /* Yep, need to drop. Drop the oldest message in | 1243 | /* Yep, need to drop. Drop the oldest message in |
1244 | the buffer. */ | 1244 | the buffer. */ |
1245 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
1246 | "Queue full due slow client on %s, dropping oldest message\n", | ||
1247 | GCCH_2s (ch)); | ||
1248 | GNUNET_STATISTICS_update (stats, | ||
1249 | "# messages dropped due to slow client", | ||
1250 | 1, | ||
1251 | GNUNET_NO); | ||
1245 | drop = ccc->head_recv; | 1252 | drop = ccc->head_recv; |
1246 | GNUNET_CONTAINER_DLL_remove (ccc->head_recv, | 1253 | GNUNET_CONTAINER_DLL_remove (ccc->head_recv, |
1247 | ccc->tail_recv, | 1254 | ccc->tail_recv, |