Re-enabled multi-threaded operation after trying with a field test
authorDan
Sat, 12 Apr 2008 09:26:01 -0400
changeset 17 66c3eb4cdc4c
parent 16 23d4cf2f183b
child 18 69af47034212
Re-enabled multi-threaded operation after trying with a field test
greyhound.php
webserver.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");
--- 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");
       }
     }
   }