On Thu, 18 Sep 2003 14:32:52 +0200
Andre Schubert <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> i have a little problem.
> We have several Zope's running in our company.
> Versions are 2.5.1,2.6.1,2.6.2. All are running on Redhat Linux.
> All versions have the same problem, if i access them via pcgi and hit the Restart
> button in the Control Panel then the server goes down.
> If i do the same via ZServer port 8080 everything works fine.
> 
Hi all,

i think i have found a solution.
A patch is included for PCGIServer.py.
Could anybody check this patch please.
If there are no problems i could file a bug into the collector.

Thanks, as

################################################################

--- PCGIServer.py       Wed Aug 14 23:16:50 2002
+++ PCGIServer.py.patched       Fri Sep 19 10:13:05 2003
@@ -394,5 +394,5 @@
 
     def finish(self, response):
         if response._shutdownRequested():
-            self._shutdown = 1
+            self._shutdown = [sys.ZServerExitCode]
         self._channel.reply_code=response.status

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to