From: Arran Cudbard-Bell Date: Wed, 29 Mar 2023 02:55:08 +0000 (-0600) Subject: subrequest: More verbose log messages on subrequest completion X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11dd181ec1dcfad8ce3d34f8ed0406a056a03880;p=thirdparty%2Ffreeradius-server.git subrequest: More verbose log messages on subrequest completion --- diff --git a/src/lib/unlang/subrequest.c b/src/lib/unlang/subrequest.c index 0607097b465..276abab71d8 100644 --- a/src/lib/unlang/subrequest.c +++ b/src/lib/unlang/subrequest.c @@ -68,13 +68,11 @@ static unlang_action_t unlang_subrequest_parent_resume(rlm_rcode_t *p_result, re request_t *child = state->child; unlang_subrequest_t *gext; - RDEBUG3("Subrequest complete"); - /* * Child detached */ if (!state->child) { - RDEBUG3("Child has detached"); + RDEBUG3("subrequest detached during its execution - Not updating rcode or reply attributes"); /* * If the child detached the subrequest section @@ -84,6 +82,8 @@ static unlang_action_t unlang_subrequest_parent_resume(rlm_rcode_t *p_result, re return UNLANG_ACTION_EXECUTE_NEXT; } + RDEBUG3("subrequest complete"); + /* * If there's a no destination tmpl, we're done. */