aboutsummaryrefslogtreecommitdiff
path: root/src/rps
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-21 18:10:38 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-21 18:10:38 +0200
commit61bf943d09cd43ca5fe9de1a8d329b808b0b194d (patch)
tree7676c015238a5b2d46b56af58bde4643913c3dd0 /src/rps
parent882a4ce1bb696d00abaa841ac88737765588cee9 (diff)
downloadgnunet-61bf943d09cd43ca5fe9de1a8d329b808b0b194d.tar.gz
gnunet-61bf943d09cd43ca5fe9de1a8d329b808b0b194d.zip
fix crash on unexpected client disconnect on incoming message, remove bogus assertion
Diffstat (limited to 'src/rps')
-rw-r--r--src/rps/test_rps.c2
-rw-r--r--src/rps/test_rps.conf4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c
index bae28428f..542919425 100644
--- a/src/rps/test_rps.c
+++ b/src/rps/test_rps.c
@@ -2782,7 +2782,7 @@ main (int argc, char *argv[])
2782 { 2782 {
2783 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "This is the profiler\n"); 2783 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "This is the profiler\n");
2784 cur_test_run.name = "test-rps-profiler"; 2784 cur_test_run.name = "test-rps-profiler";
2785 num_peers = 100; 2785 num_peers = 10;
2786 mal_type = 3; 2786 mal_type = 3;
2787 cur_test_run.init_peer = profiler_init_peer; 2787 cur_test_run.init_peer = profiler_init_peer;
2788 //cur_test_run.pre_test = mal_pre; 2788 //cur_test_run.pre_test = mal_pre;
diff --git a/src/rps/test_rps.conf b/src/rps/test_rps.conf
index f171335d6..cf6b3150c 100644
--- a/src/rps/test_rps.conf
+++ b/src/rps/test_rps.conf
@@ -29,7 +29,7 @@ HOSTNAME = localhost
29# MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 100 29# MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 100
30OVERLAY_TOPOLOGY = CLIQUE 30OVERLAY_TOPOLOGY = CLIQUE
31#OVERLAY_TOPOLOGY = SMALL_WORLD 31#OVERLAY_TOPOLOGY = SMALL_WORLD
32#SCALE_FREE_TOPOLOGY_CAP = 32#SCALE_FREE_TOPOLOGY_CAP =
33 33
34# OVERLAY_RANDOM_LINKS = 25 34# OVERLAY_RANDOM_LINKS = 25
35 35
@@ -74,6 +74,7 @@ DISABLE_TRY_CONNECT = YES
74[cadet] 74[cadet]
75DISABLE_TRY_CONNECT = YES 75DISABLE_TRY_CONNECT = YES
76#OPTIONS=-l /tmp/rps_profiler_logs/cadet-[]-%Y-%m-%d.log 76#OPTIONS=-l /tmp/rps_profiler_logs/cadet-[]-%Y-%m-%d.log
77#PREFIX = valgrind
77 78
78#[arm] 79#[arm]
79#GLOBAL_POSTFIX=-l /tmp/rps_profiler_logs/other-[]-%Y-%m-%d.log 80#GLOBAL_POSTFIX=-l /tmp/rps_profiler_logs/other-[]-%Y-%m-%d.log
@@ -120,4 +121,3 @@ AUTOSTART = NO
120[fs] 121[fs]
121FORCESTART = NO 122FORCESTART = NO
122AUTOSTART = NO 123AUTOSTART = NO
123