request_data_t *data; //!< Request metadata.
- RAD_LISTEN_TYPE priority;
-
rad_listen_t *listener; //!< The listener that received the request.
RADCLIENT *client; //!< The client that originally sent us the request.
rad_master_state_t master_state; //!< Set by the master thread to signal the child that's currently
//!< working with the request, to do something.
- rad_child_state_t child_state;
-
- pthread_t child_pid; //!< Current thread handling the request.
- void *thread_ctx; //!< for request_queue_extract()
fr_request_process_t process; //!< The function to call to move the request through the state machine.
- RAD_REQUEST_FUNP handle; //!< The function to call to move the request through the
- //!< various server configuration sections.
-
rlm_rcode_t rcode; //!< Last rcode returned by a module
CONF_SECTION *server_cs; //!< virtual server which is processing the request.
main_config_t *root; //!< Pointer to the main config hack to try and deal with hup.
-#ifdef WITH_PROXY
- bool in_proxy_hash;
-#endif
-
struct {
log_dst_t *dst; //!< First in a list of log destinations.
fake->number = request->number;
fake->seq_start = request->seq_start;
- fake->child_pid = request->child_pid;
fake->parent = request;
fake->root = request->root;
fake->client = request->client;
}
fake->master_state = REQUEST_ACTIVE;
- fake->child_state = REQUEST_RUNNING;
/*
* Fill in the fake request.
request->number = number++;
request->master_state = REQUEST_ACTIVE;
- request->child_state = REQUEST_RUNNING;
- request->handle = NULL;
request->server_cs = virtual_server_find("default");
request->root = &main_config;