diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-27 14:07:49 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-27 14:07:49 +0100 |
commit | d3b0b69e7d360b4b82c5a5580a7ea21317dfee24 (patch) | |
tree | 894eccdb39ed57e1fadc0bb12a7fabd2b1ede244 /src/cadet/gnunet-service-cadet-new_paths.c | |
parent | 052c4fcb11913cad4baa3a4fa2032b2ae2f386e3 (diff) | |
download | gnunet-d3b0b69e7d360b4b82c5a5580a7ea21317dfee24.tar.gz gnunet-d3b0b69e7d360b4b82c5a5580a7ea21317dfee24.zip |
implement tie-breaking in case both peers establish a connection to each other via the same path at the same time, so that only one connection survives
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_paths.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_paths.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_paths.c b/src/cadet/gnunet-service-cadet-new_paths.c index a5d201e0b..685656ec3 100644 --- a/src/cadet/gnunet-service-cadet-new_paths.c +++ b/src/cadet/gnunet-service-cadet-new_paths.c | |||
@@ -24,11 +24,6 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | * | 25 | * |
26 | * TODO: | 26 | * TODO: |
27 | * - BUG: currently only allowing one unique connection per path, | ||
28 | * but need to allow 2 in case WE are establishing one from A to B | ||
29 | * while at the same time B establishes one to A. | ||
30 | * Also, must not ASSERT if B establishes a 2nd one to us. | ||
31 | * Need to have some reasonable tie-breaking to only keep ONE. | ||
32 | * - path desirability score calculations are not done | 27 | * - path desirability score calculations are not done |
33 | */ | 28 | */ |
34 | #include "platform.h" | 29 | #include "platform.h" |