* the internal/external callbacs.
*/
unlang_interpret_signal(*request_p, FR_SIGNAL_CANCEL);
-
- /*
- * Cancel just signals each frame. We need to tell
- * everything else that this request is dead.
- */
- (*request_p)->master_state == REQUEST_STOP_PROCESSING'
*request_p = NULL;
}
fr_time_tracking_resume(&request->async->tracking, fr_time());
}
- /*
- * Let everyone know the request is being
- * stopped.
- */
- request->master_state = REQUEST_STOP_PROCESSING;
-
/*
* If the request is in the runnable queue
* yank it back out, so it's not "runnable"
* when we call request done.
*/
if (fr_heap_entry_inserted(request->runnable_id)) fr_heap_extract(&worker->runnable, request);
-
- /*
- * The interpreter doesn't currently fix
- * this for us, so we set the indent to 0
- * to avoid nasty asserts later.
- */
- request->log.unlang_indent = 0;
}
/** Request is now runnable
intp = stack->intp;
intp->funcs.stop(request, intp->uctx);
request->log.unlang_indent = 0; /* nothing unwinds the indentation stack */
+ request->master_state = REQUEST_STOP_PROCESSING;
}
static inline CC_HINT(always_inline)