]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
subrequest: More verbose log messages on subrequest completion
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 29 Mar 2023 02:55:08 +0000 (20:55 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 29 Mar 2023 02:55:32 +0000 (20:55 -0600)
src/lib/unlang/subrequest.c

index 0607097b465a5a4546a0e615961cf80817c4b6f2..276abab71d82317326231261cf102116c98e582d 100644 (file)
@@ -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.
         */