View | Details | Raw Unified | Return to bug 57101
Collapse All | Expand All

(-)mod_fcgid-2.3.9/modules/fcgid/fcgid_proc_unix.c (+1 lines)
Lines 357-362 apr_status_t proc_spawn_process(const ch Link Here
357
        || (rv = apr_procattr_cmdtype_set(procattr, APR_PROGRAM)) != APR_SUCCESS
357
        || (rv = apr_procattr_cmdtype_set(procattr, APR_PROGRAM)) != APR_SUCCESS
358
        || (rv = apr_os_file_put(&file, &unix_socket, 0,
358
        || (rv = apr_os_file_put(&file, &unix_socket, 0,
359
                                 procnode->proc_pool)) != APR_SUCCESS
359
                                 procnode->proc_pool)) != APR_SUCCESS
360
        || (rv = apr_procattr_child_errfn_set(procattr, fcgid_errfn)) != APR_SUCCESS
360
        || (rv = apr_procattr_child_in_set(procattr, file, NULL)) != APR_SUCCESS) {
361
        || (rv = apr_procattr_child_in_set(procattr, file, NULL)) != APR_SUCCESS) {
361
        ap_log_error(APLOG_MARK, APLOG_ERR, rv, procinfo->main_server,
362
        ap_log_error(APLOG_MARK, APLOG_ERR, rv, procinfo->main_server,
362
                     "mod_fcgid: couldn't set child process attributes: %s",
363
                     "mod_fcgid: couldn't set child process attributes: %s",
(-)mod_fcgid-2.3.9/modules/fcgid/fcgid_proc_win.c (+1 lines)
Lines 146-151 apr_status_t proc_spawn_process(const ch Link Here
146
                                     APR_NO_FILE, APR_NO_FILE)) != APR_SUCCESS
146
                                     APR_NO_FILE, APR_NO_FILE)) != APR_SUCCESS
147
        || (rv = apr_os_file_put(&file, &listen_handle, 0,
147
        || (rv = apr_os_file_put(&file, &listen_handle, 0,
148
                                 procnode->proc_pool)) != APR_SUCCESS
148
                                 procnode->proc_pool)) != APR_SUCCESS
149
        || (rv = apr_procattr_child_errfn_set(proc_attr, fcgid_errfn)) != APR_SUCCESS
149
        || (rv = apr_procattr_child_in_set(proc_attr, file, NULL))
150
        || (rv = apr_procattr_child_in_set(proc_attr, file, NULL))
150
               != APR_SUCCESS)
151
               != APR_SUCCESS)
151
    {
152
    {
(-)mod_fcgid-2.3.9/modules/fcgid/fcgid_spawn_ctl.c (+6 lines)
Lines 251-253 int is_kill_allowed(server_rec * main_se Link Here
251
251
252
    return 1;
252
    return 1;
253
}
253
}
254
255
void fcgid_errfn (apr_pool_t *p, apr_status_t err, const char *description)
256
{
257
    ap_log_error(APLOG_MARK, APLOG_ERR, err, NULL,
258
                "mod_fcgid: error spawning process: %s", description);
259
}
(-)mod_fcgid-2.3.9/modules/fcgid/fcgid_spawn_ctl.h (+1 lines)
Lines 26-30 void register_termination(server_rec * m Link Here
26
void register_spawn(server_rec * main_server, fcgid_procnode * procnode);
26
void register_spawn(server_rec * main_server, fcgid_procnode * procnode);
27
int is_spawn_allowed(server_rec * main_server, fcgid_command * command);
27
int is_spawn_allowed(server_rec * main_server, fcgid_command * command);
28
int is_kill_allowed(server_rec * main_server, fcgid_procnode * procnode);
28
int is_kill_allowed(server_rec * main_server, fcgid_procnode * procnode);
29
void fcgid_errfn (apr_pool_t *p, apr_status_t err, const char *description);
29
30
30
#endif
31
#endif

Return to bug 57101