From 33954ae13d4d26cefa45ac86f5e2184b6abd724f Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Thu, 6 Aug 2020 16:20:48 +0200 Subject: - fixed tcp communicator rekey --- src/transport/transport-testing2.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/transport/transport-testing2.c') 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); -- cgit v1.2.3