webserver.php
changeset 53 a6b339665650
parent 48 d643bfb862d8
child 56 53b0f0d7ff6f
equal deleted inserted replaced
52:ab3541465382 53:a6b339665650
   506       }
   506       }
   507       
   507       
   508       // fork off if possible
   508       // fork off if possible
   509       if ( function_exists('pcntl_fork') && $this->allow_fork && !$this->in_keepalive )
   509       if ( function_exists('pcntl_fork') && $this->allow_fork && !$this->in_keepalive )
   510       {
   510       {
   511         if ( $this->threader->fork() == FORK_CHILD )
   511         if ( $this->threader->fork() == Threader::FORK_CHILD )
   512         {
   512         {
   513           // this is the child
   513           // this is the child
   514           define('HTTPD_WS_CHILD', 1);
   514           define('HTTPD_WS_CHILD', 1);
   515         }
   515         }
   516         else
   516         else