aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2015-06-10 12:08:15 +0000
committerBart Polot <bart@net.in.tum.de>2015-06-10 12:08:15 +0000
commitf7f0f7e25da6e4b68ea1dc1da30a6d544ff5f69d (patch)
treebdb0d65faae28497076bab4cf25427e3f7e536af /src
parentcb3d67ac50f4f827b7e98c2ce391b416943ad957 (diff)
downloadgnunet-f7f0f7e25da6e4b68ea1dc1da30a6d544ff5f69d.tar.gz
gnunet-f7f0f7e25da6e4b68ea1dc1da30a6d544ff5f69d.zip
note to self
Diffstat (limited to 'src')
-rw-r--r--src/cadet/gnunet-service-cadet_connection.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c
index 89f4327f3..3626e47e5 100644
--- a/src/cadet/gnunet-service-cadet_connection.c
+++ b/src/cadet/gnunet-service-cadet_connection.c
@@ -1844,7 +1844,13 @@ GCC_handle_create (void *cls, const struct GNUNET_PeerIdentity *peer,
1844 { 1844 {
1845 path_destroy (path); 1845 path_destroy (path);
1846 GCC_destroy (c); 1846 GCC_destroy (c);
1847 // FIXME use explicit duplicate 1847 // FIXME Peer created a connection equal to one we think exists
1848 // and is fine. What should we do?
1849 // Use explicit duplicate?
1850 // Accept new conn and destroy the old? (interruption in higher level)
1851 // Keep both and postpone disambiguation?
1852 // Keep the one created by peer with higher ID?
1853 // For now: reject new connection until current confirmed dead
1848 send_broken_unknown (cid, &my_full_id, NULL, peer); 1854 send_broken_unknown (cid, &my_full_id, NULL, peer);
1849 1855
1850 return GNUNET_OK; 1856 return GNUNET_OK;