From 174c8ac326de3c5384dfd19944e226858cd57273 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 13 Mar 2017 00:24:23 +0100 Subject: [PATCH] note about performance issue, indentation fix --- src/cadet/TODO | 10 +++++++--- src/cadet/cadet_api.c | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/cadet/TODO b/src/cadet/TODO index 820efab7a..06567b0ad 100644 --- a/src/cadet/TODO +++ b/src/cadet/TODO @@ -1,6 +1,10 @@ -- URGENT: Congestion/flow control (CHANNEL): - + estimate max bandwidth using bursts and use to for CONGESTION CONTROL! - (and figure out how/where to use this!) +- URGENT: + + if 'client-not-ready', we do not ACK at all, and sender keeps + retransmitting again and again; would be good to do flow-control notification instead + of not ACKing that we got the data but are simply not ready for more! + + Congestion/flow control (CHANNEL): + estimate max bandwidth using bursts and use to for CONGESTION CONTROL! + (and figure out how/where to use this!) - HIGH: revisit handling of 'unbuffered' traffic! (CHANNEL/TUNNEL) (need to push down through tunnel into connection selection); diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 7b9ac62b3..1a37f7193 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c @@ -1041,7 +1041,8 @@ handle_local_data (void *cls, "injecting msg %s into mq %p\n", GC_m2s (ntohs (payload->type)), ch->mq); - GNUNET_MQ_inject_message (ch->mq, payload); + GNUNET_MQ_inject_message (ch->mq, + payload); return; } /** @a deprecated */ -- 2.25.1