diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-13 00:24:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-13 01:24:34 +0100 |
commit | 174c8ac326de3c5384dfd19944e226858cd57273 (patch) | |
tree | 092d8efd1e9bd6c021f55d408371a161b39f985c /src/cadet | |
parent | 7860923ce13f826ca6671b42aa7f1e62f9770c86 (diff) | |
download | gnunet-174c8ac326de3c5384dfd19944e226858cd57273.tar.gz gnunet-174c8ac326de3c5384dfd19944e226858cd57273.zip |
note about performance issue, indentation fix
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/TODO | 10 | ||||
-rw-r--r-- | 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 @@ | |||
1 | - URGENT: Congestion/flow control (CHANNEL): | 1 | - URGENT: |
2 | + estimate max bandwidth using bursts and use to for CONGESTION CONTROL! | 2 | + if 'client-not-ready', we do not ACK at all, and sender keeps |
3 | (and figure out how/where to use this!) | 3 | retransmitting again and again; would be good to do flow-control notification instead |
4 | of not ACKing that we got the data but are simply not ready for more! | ||
5 | + Congestion/flow control (CHANNEL): | ||
6 | estimate max bandwidth using bursts and use to for CONGESTION CONTROL! | ||
7 | (and figure out how/where to use this!) | ||
4 | 8 | ||
5 | - HIGH: revisit handling of 'unbuffered' traffic! (CHANNEL/TUNNEL) | 9 | - HIGH: revisit handling of 'unbuffered' traffic! (CHANNEL/TUNNEL) |
6 | (need to push down through tunnel into connection selection); | 10 | (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, | |||
1041 | "injecting msg %s into mq %p\n", | 1041 | "injecting msg %s into mq %p\n", |
1042 | GC_m2s (ntohs (payload->type)), | 1042 | GC_m2s (ntohs (payload->type)), |
1043 | ch->mq); | 1043 | ch->mq); |
1044 | GNUNET_MQ_inject_message (ch->mq, payload); | 1044 | GNUNET_MQ_inject_message (ch->mq, |
1045 | payload); | ||
1045 | return; | 1046 | return; |
1046 | } | 1047 | } |
1047 | /** @a deprecated */ | 1048 | /** @a deprecated */ |