summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing2.c
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2020-08-06 16:20:48 +0200
committert3sserakt <t3ss@posteo.de>2020-08-06 16:20:48 +0200
commit33954ae13d4d26cefa45ac86f5e2184b6abd724f (patch)
treed6b2c8ff0d20776e04df1bfbc1ea04a458f7061e /src/transport/transport-testing2.c
parentd335baac87c2c59796a543fc2df44e2db33f5e8e (diff)
- fixed tcp communicator rekey
Diffstat (limited to 'src/transport/transport-testing2.c')
-rw-r--r--src/transport/transport-testing2.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/transport/transport-testing2.c b/src/transport/transport-testing2.c
index 10b064241..0c85660dd 100644
--- a/src/transport/transport-testing2.c
+++ b/src/transport/transport-testing2.c
@@ -939,8 +939,7 @@ communicator_start (
binary = GNUNET_OS_get_libexec_binary_path (binary_name);
- tc_h->c_proc = GNUNET_OS_start_process_s (GNUNET_YES,
- GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
+ tc_h->c_proc = GNUNET_OS_start_process_s (GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
NULL,
loprefix,
binary,
@@ -1026,8 +1025,10 @@ peerstore_start (
LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start\n");
binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-peerstore");
- tc_h->ps_proc = GNUNET_OS_start_process (GNUNET_YES,
- GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start binary %s\n",
+ binary);
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start 2\n");
+ tc_h->ps_proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
NULL,
NULL,
NULL,
@@ -1036,6 +1037,7 @@ peerstore_start (
"-c",
tc_h->cfg_filename,
NULL);
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start 3\n");
if (NULL == tc_h->ps_proc)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to start Peerstore!");
@@ -1057,6 +1059,8 @@ nat_start (
LOG (GNUNET_ERROR_TYPE_DEBUG, "nat_start\n");
binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-nat");
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "nat_start binary %s\n",
+ binary);
tc_h->nat_proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR
| GNUNET_OS_USE_PIPE_CONTROL,
NULL,
@@ -1154,6 +1158,8 @@ void
GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop (
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h)
{
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "transport communicator service stop\n");
shutdown_communicator (tc_h->c_proc);
shutdown_service (tc_h->sh);
shutdown_nat (tc_h->nat_proc);