From 081280a88bfd833187dd8996e6482327c74dde8b Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 10 May 2019 20:11:29 +0200 Subject: Create async scopes. Log statements contain an async scope identifier, which allows to correlate logs from the same request. --- src/lib/testing_api_loop.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/testing_api_loop.c') diff --git a/src/lib/testing_api_loop.c b/src/lib/testing_api_loop.c index 071388f2c..bebd159de 100644 --- a/src/lib/testing_api_loop.c +++ b/src/lib/testing_api_loop.c @@ -807,6 +807,7 @@ TALER_TESTING_setup (TALER_TESTING_Main main_cb, is.ctx = GNUNET_CURL_init (&GNUNET_CURL_gnunet_scheduler_reschedule, &is.rc); + GNUNET_CURL_enable_async_scope_header (is.ctx, "Taler-Correlation-Id"); GNUNET_assert (NULL != is.ctx); is.rc = GNUNET_CURL_gnunet_rc_create (is.ctx); -- cgit v1.2.3