Lines Matching defs:cgid_req
684 cgid_req_t cgid_req;
712 stat = get_req(sd2, r, &argv0, &env, &cgid_req);
721 if (cgid_req.ppid != parent_pid) {
729 if (cgid_req.req_type == GETPID_REQ) {
733 pid = (pid_t)((long)apr_hash_get(script_hash, &cgid_req.conn_id, sizeof(cgid_req.conn_id)));
747 if (cgid_req.req_type == SSI_REQ) {
761 ((cgid_req.req_type == CGI_REQ) &&
778 ( (cgid_req.limits.limit_cpu_set) && ((rc = apr_procattr_limit_set(procattr, APR_LIMIT_CPU,
779 &cgid_req.limits.limit_cpu)) != APR_SUCCESS)) ||
782 ( (cgid_req.limits.limit_mem_set) && ((rc = apr_procattr_limit_set(procattr, APR_LIMIT_MEM,
783 &cgid_req.limits.limit_mem)) != APR_SUCCESS)) ||
786 ( (cgid_req.limits.limit_nproc_set) && ((rc = apr_procattr_limit_set(procattr, APR_LIMIT_NPROC,
787 &cgid_req.limits.limit_nproc)) != APR_SUCCESS)) ||
816 if (memcmp(&empty_ugid, &cgid_req.ugid, sizeof(empty_ugid))) {
857 if (apr_hash_get(script_hash, &cgid_req.conn_id, sizeof(cgid_req.conn_id))) {
858 key = &cgid_req.conn_id;
861 key = apr_pmemdup(pcgi, &cgid_req.conn_id, sizeof(cgid_req.conn_id));
863 apr_hash_set(script_hash, key, sizeof(cgid_req.conn_id),