components/apache2-modules/mod_fcgid/patches/fcgid.badspawnctl-r1037727.patch
changeset 1669 f8dafae9ff1a
parent 1668 b65707af84c2
child 1670 4086184953c3
equal deleted inserted replaced
1668:b65707af84c2 1669:f8dafae9ff1a
     1 #
       
     2 #  Fix regression in 2.3.6 which broke process controls when using vhost-
       
     3 #  specific configuration.
       
     4 #
       
     5 Index: modules/fcgid/fcgid_spawn_ctl.c
       
     6 ===================================================================
       
     7 --- modules/fcgid/fcgid_spawn_ctl.c	(revision 1037726)
       
     8 +++ modules/fcgid/fcgid_spawn_ctl.c	(revision 1037727)
       
     9 @@ -178,7 +178,7 @@
       
    10          if (current_node->inode == command->inode
       
    11              && current_node->deviceid == command->deviceid
       
    12              && !strcmp(current_node->cmdline, command->cmdline)
       
    13 -            && current_node->vhost_id == sconf->vhost_id
       
    14 +            && current_node->vhost_id == command->vhost_id
       
    15              && current_node->uid == command->uid
       
    16              && current_node->gid == command->gid)
       
    17              break;