* wait a second so the session proxy has time to start, and become responsive.
authorWilfried Göesgens <willi@citadel.org>
Thu, 14 Jun 2007 21:27:45 +0000 (21:27 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 14 Jun 2007 21:27:45 +0000 (21:27 +0000)
ctdlphp/ctdlsession.php

index 3ee4984311e9443a14632ff1b1db9a099fac3d5c..da8b9c2beb66f2d00102b45c01d7043b054a99ee 100644 (file)
@@ -53,6 +53,7 @@ function establish_citadel_session() {
                        " </dev/null ".$stdout."2>&1 " .
                        " 3>&1 4>&1 5>&1 6>&1 7>&1 8>&1 & " ;
                exec($cmd);
+               sleep(1);
 
                // Keep attempting connections 10 times per second up to 100 times
                $attempts = 0;