From: Alan T. DeKok Date: Tue, 18 Oct 2022 14:10:48 +0000 (-0400) Subject: signal the request to cancel, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d15a416c0d7ee4600ab62de5cb10ad1f2de3f8de;p=thirdparty%2Ffreeradius-server.git signal the request to cancel, too --- diff --git a/src/lib/unlang/interpret.c b/src/lib/unlang/interpret.c index 1309194e0c5..46558639497 100644 --- a/src/lib/unlang/interpret.c +++ b/src/lib/unlang/interpret.c @@ -465,8 +465,10 @@ unlang_frame_action_t frame_eval(request_t *request, unlang_stack_frame_t *frame request->ins_count++; if (request->ins_count >= request->ins_max) { - request->master_state = REQUEST_STOP_PROCESSING; RERROR("Failing request due to maximum instruction count %" PRIu64, request->ins_max); + + unlang_interpret_signal(request, FR_SIGNAL_CANCEL); + request->master_state = REQUEST_STOP_PROCESSING; } } #endif