From: Christian Grothoff Date: Sun, 12 Mar 2017 23:24:23 +0000 (+0100) Subject: note about performance issue, indentation fix X-Git-Tag: gnunet-0.11.0rc0~284^2~6^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=174c8ac326de3c5384dfd19944e226858cd57273;p=oweals%2Fgnunet.git note about performance issue, indentation fix --- 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 */