# HG changeset patch # User Dan # Date 1208006761 14400 # Node ID 66c3eb4cdc4c0e48435e61bbd8c7f03cabba5ddd # Parent 23d4cf2f183b5649d8f56e53b1bd5b37e94785ec Re-enabled multi-threaded operation after trying with a field test diff -r 23d4cf2f183b -r 66c3eb4cdc4c greyhound.php --- a/greyhound.php Wed Apr 02 01:36:53 2008 -0400 +++ b/greyhound.php Sat Apr 12 09:26:01 2008 -0400 @@ -132,7 +132,7 @@ } } $httpd->allow_dir_list = true; - $httpd->allow_fork = false; // ( $allow_fork ) ? true : false; + $httpd->allow_fork = ( $allow_fork ) ? true : false; $httpd->default_document = 'index'; status("Entering main server loop - ^C to interrupt, listening on port $port"); diff -r 23d4cf2f183b -r 66c3eb4cdc4c webserver.php --- a/webserver.php Wed Apr 02 01:36:53 2008 -0400 +++ b/webserver.php Sat Apr 12 09:26:01 2008 -0400 @@ -361,7 +361,7 @@ { // if ( defined('HTTPD_WS_CHILD') ) // status('Continuing connection'); - @socket_write($remote, "\r\n\r\n"); + // @socket_write($remote, "\r\n\r\n"); } } }