[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26164 - gnunet/src/testbed
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26164 - gnunet/src/testbed |
Date: |
Wed, 20 Feb 2013 11:21:31 +0100 |
Author: harsha
Date: 2013-02-20 11:21:31 +0100 (Wed, 20 Feb 2013)
New Revision: 26164
Modified:
gnunet/src/testbed/gnunet-service-testbed.c
Log:
- send SIGTERM to peer and reply with success before waiting on it
Modified: gnunet/src/testbed/gnunet-service-testbed.c
===================================================================
--- gnunet/src/testbed/gnunet-service-testbed.c 2013-02-19 18:12:01 UTC (rev
26163)
+++ gnunet/src/testbed/gnunet-service-testbed.c 2013-02-20 10:21:31 UTC (rev
26164)
@@ -1750,7 +1750,7 @@
GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
}
- if (GNUNET_OK != GNUNET_TESTING_peer_stop (peer->details.local.peer))
+ if (GNUNET_OK != GNUNET_TESTING_peer_kill (peer->details.local.peer))
{
LOG (GNUNET_ERROR_TYPE_WARNING, "Stopping peer %u failed\n", peer_id);
GST_send_operation_fail_msg (client, GNUNET_ntohll (msg->operation_id),
@@ -1769,6 +1769,7 @@
reply->operation_id = msg->operation_id;
GST_queue_message (client, &reply->header);
GNUNET_SERVER_receive_done (client, GNUNET_OK);
+ GNUNET_TESTING_peer_wait (peer->details.local.peer);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26164 - gnunet/src/testbed,
gnunet <=