You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2003/02/11 18:11:53 UTC
cvs commit: httpd-2.0/modules/arch/netware mod_netware.c
bnicholes 2003/02/11 09:11:53
Modified: modules/arch/netware Tag: APACHE_2_0_BRANCH mod_netware.c
Log:
Start all CGIs as detached and allow the APR_PROGRAM_* flags to determine
if the CGI should be started in its own address space.
Revision Changes Path
No revision
No revision
1.5.2.2 +5 -2 httpd-2.0/modules/arch/netware/mod_netware.c
Index: mod_netware.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/arch/netware/mod_netware.c,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -r1.5.2.1 -r1.5.2.2
--- mod_netware.c 3 Feb 2003 17:31:32 -0000 1.5.2.1
+++ mod_netware.c 11 Feb 2003 17:11:53 -0000 1.5.2.2
@@ -192,13 +192,16 @@
/* Run in its own address space if specified */
detached = apr_table_get(d->file_handler_mode, ext);
if (detached) {
- e_info->detached = 1;
+ e_info->cmd_type = APR_PROGRAM_ENV;
}
+ else {
+ e_info->cmd_type = APR_PROGRAM;
+ }
}
/* Tokenize the full command string into its arguments */
apr_tokenize_to_argv(*cmd, (char***)argv, p);
- e_info->cmd_type = APR_PROGRAM;
+ e_info->detached = 1;
/* The first argument should be the executible */
*cmd = ap_server_root_relative(p, *argv[0]);