httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/modules/arch/netware mod_netware.c
Date Tue, 11 Feb 2003 17:12:01 GMT
bnicholes    2003/02/11 09:12:01

  Modified:    modules/arch/netware 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
  1.7       +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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- mod_netware.c	3 Feb 2003 17:52:56 -0000	1.6
  +++ mod_netware.c	11 Feb 2003 17:12:01 -0000	1.7
  @@ -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]);
  
  
  

Mime
View raw message