return rc;
}
- apr_pool_note_subprocess(ctx->p, ctx->proc, kill_after_timeout);
+ apr_pool_note_subprocess(ctx->p, ctx->proc, APR_KILL_AFTER_TIMEOUT);
/* We don't want the handle to the child's stdin inherited by any
* other processes created by httpd. Otherwise, when we close our
"couldn't create child process: %d: %s", rc, r->filename);
}
else {
- apr_pool_note_subprocess(p, procnew, kill_after_timeout);
+ apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT);
*script_in = procnew->out;
if (!*script_in)
procnew = apr_pcalloc(p, sizeof(*procnew));
procnew->pid = daemon_pid;
procnew->err = procnew->in = procnew->out = NULL;
- apr_pool_note_subprocess(p, procnew, kill_after_timeout);
+ apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT);
#if APR_HAS_OTHER_CHILD
apr_proc_other_child_register(procnew, cgid_maint, &procnew->pid, NULL, p);
#endif
rc = apr_proc_create(procnew, progname, NULL, NULL, procattr, p);
if (rc == APR_SUCCESS) {
- apr_pool_note_subprocess(p, procnew, kill_after_timeout);
+ apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT);
if (fpin) {
(*fpin) = procnew->in;
compr[parm->method].argv[0]);
}
else {
- apr_pool_note_subprocess(child_context, procnew, kill_after_timeout);
+ apr_pool_note_subprocess(child_context, procnew, APR_KILL_AFTER_TIMEOUT);
*pipe_in = procnew->out;
}
}
NULL, procattr, p);
if (rc == APR_SUCCESS) {
/* XXX: not sure if we aught to...
- * apr_pool_note_subprocess(p, procnew, kill_after_timeout);
+ * apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT);
*/
writetty = procnew->in;
readtty = procnew->out;
NULL, procattr, p);
if (rc == APR_SUCCESS) {
- apr_pool_note_subprocess(p, procnew, kill_after_timeout);
+ apr_pool_note_subprocess(p, procnew, APR_KILL_AFTER_TIMEOUT);
(*fpin) = procnew->in;
}
}