diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-10 20:45:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-10 20:45:49 +0000 |
commit | 9d231f0421f7ea23301fb9a4615c4f09abdc2e1b (patch) | |
tree | 812076aae5d2ad57e29ed289777fd8a41efeac19 | |
parent | 42037684dd21553ed94d989487a88f14d221e97f (diff) | |
download | gnunet-9d231f0421f7ea23301fb9a4615c4f09abdc2e1b.tar.gz gnunet-9d231f0421f7ea23301fb9a4615c4f09abdc2e1b.zip |
update
-rw-r--r-- | BUGS | 8 | ||||
-rw-r--r-- | src/testing/test_testing.c | 2 | ||||
-rw-r--r-- | src/testing/test_testing_connect_peer1.conf | 4 | ||||
-rw-r--r-- | src/testing/test_testing_connect_peer2.conf | 4 | ||||
-rw-r--r-- | src/topology/test_gnunet_service_topology.c | 2 |
5 files changed, 6 insertions, 14 deletions
@@ -9,16 +9,8 @@ sane end-user should care about this codebase yet anyway. | |||
9 | 9 | ||
10 | 10 | ||
11 | * UTIL: | 11 | * UTIL: |
12 | - API-DESIGN: network/connection/client/server: need to communicate | ||
13 | scheduler's "reason" code for failures to callbacks of the kind | ||
14 | used by the notify_transmit_ready-family: shutdown and timeout | ||
15 | may require entirely different actions, and currently we | ||
16 | cannot tell the difference! [need 4th argument!] | ||
17 | - container_bloomfilter: improve efficiency (see FIXME) | 12 | - container_bloomfilter: improve efficiency (see FIXME) |
18 | - server: inefficient memmove | 13 | - server: inefficient memmove |
19 | - client: should do exponential back-off (starting at 1ms, | ||
20 | bounded by 1s) when connection failed (in addition to | ||
21 | half-time-to-deadline retry at the end) | ||
22 | - Windows: use events instead of pipes to signal select()s [Nils] | 14 | - Windows: use events instead of pipes to signal select()s [Nils] |
23 | - only connect() sockets that are ready (select()) [Nils] | 15 | - only connect() sockets that are ready (select()) [Nils] |
24 | [On W32, we need to select after calling socket before | 16 | [On W32, we need to select after calling socket before |
diff --git a/src/testing/test_testing.c b/src/testing/test_testing.c index f56ebe2c0..1a52f3681 100644 --- a/src/testing/test_testing.c +++ b/src/testing/test_testing.c | |||
@@ -110,7 +110,7 @@ main (int argc, char *argv[]) | |||
110 | #endif | 110 | #endif |
111 | NULL); | 111 | NULL); |
112 | ret = check (); | 112 | ret = check (); |
113 | sleep (1); | 113 | sleep (1); /* FIXME: make this unnecessary */ |
114 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-testing"); | 114 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-testing"); |
115 | return ret; | 115 | return ret; |
116 | } | 116 | } |
diff --git a/src/testing/test_testing_connect_peer1.conf b/src/testing/test_testing_connect_peer1.conf index 32ddbfc4d..221fe2f7a 100644 --- a/src/testing/test_testing_connect_peer1.conf +++ b/src/testing/test_testing_connect_peer1.conf | |||
@@ -17,7 +17,7 @@ PLUGINS = tcp | |||
17 | PORT = 12566 | 17 | PORT = 12566 |
18 | HOSTNAME = localhost | 18 | HOSTNAME = localhost |
19 | DEFAULTSERVICES = peerinfo transport core | 19 | DEFAULTSERVICES = peerinfo transport core |
20 | DEBUG = YES | 20 | #DEBUG = YES |
21 | 21 | ||
22 | [statistics] | 22 | [statistics] |
23 | PORT = 12567 | 23 | PORT = 12567 |
@@ -33,7 +33,7 @@ HOSTNAME = localhost | |||
33 | [core] | 33 | [core] |
34 | PORT = 12570 | 34 | PORT = 12570 |
35 | HOSTNAME = localhost | 35 | HOSTNAME = localhost |
36 | DEBUG = YES | 36 | #DEBUG = YES |
37 | 37 | ||
38 | [testing] | 38 | [testing] |
39 | WEAKRANDOM = YES | 39 | WEAKRANDOM = YES |
diff --git a/src/testing/test_testing_connect_peer2.conf b/src/testing/test_testing_connect_peer2.conf index a152ff237..d64db475a 100644 --- a/src/testing/test_testing_connect_peer2.conf +++ b/src/testing/test_testing_connect_peer2.conf | |||
@@ -17,7 +17,7 @@ PLUGINS = tcp | |||
17 | PORT = 22566 | 17 | PORT = 22566 |
18 | DEFAULTSERVICES = peerinfo transport core | 18 | DEFAULTSERVICES = peerinfo transport core |
19 | HOSTNAME = localhost | 19 | HOSTNAME = localhost |
20 | DEBUG = YES | 20 | #DEBUG = YES |
21 | 21 | ||
22 | [statistics] | 22 | [statistics] |
23 | PORT = 22567 | 23 | PORT = 22567 |
@@ -33,7 +33,7 @@ HOSTNAME = localhost | |||
33 | [core] | 33 | [core] |
34 | PORT = 22570 | 34 | PORT = 22570 |
35 | HOSTNAME = localhost | 35 | HOSTNAME = localhost |
36 | DEBUG = YES | 36 | #DEBUG = YES |
37 | 37 | ||
38 | [testing] | 38 | [testing] |
39 | WEAKRANDOM = YES | 39 | WEAKRANDOM = YES |
diff --git a/src/topology/test_gnunet_service_topology.c b/src/topology/test_gnunet_service_topology.c index 130f40629..c05d1f5c0 100644 --- a/src/topology/test_gnunet_service_topology.c +++ b/src/topology/test_gnunet_service_topology.c | |||
@@ -155,7 +155,7 @@ main (int argc, char *argv[]) | |||
155 | #endif | 155 | #endif |
156 | NULL); | 156 | NULL); |
157 | ret = check (); | 157 | ret = check (); |
158 | sleep (1); | 158 | sleep (1); /* FIXME: needed? */ |
159 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-topology"); | 159 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-topology"); |
160 | return ret; | 160 | return ret; |
161 | } | 161 | } |