#15209 [Ctl->Ver]: Under Apache, register_shutdown_function() broke between 4.0.x to 4.1.x

From: Date: Wed, 11 Dec 2002 14:30:39 +0000
Subject: #15209 [Ctl->Ver]: Under Apache, register_shutdown_function() broke between 4.0.x to 4.1.x
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27341@lists.php.net to get a copy of this message
 ID:               15209
 Updated by:       andrei@php.net
 Reported By:      priebe@mi-corporation.com
-Status:           Critical
+Status:           Verified
 Bug Type:         Scripting Engine problem
 Operating System: RH Linux 7.2
 PHP Version:      4.3.0-dev
 New Comment:

Changing to 'Verified', since there is some disagreement on how this
function should operate.


Previous Comments:
------------------------------------------------------------------------

[2002-10-12 10:21:46] sniper@php.net

Marking as critical since this worked at some point.
And there was also posting by jtate@php.net with a possible
fix on php-dev@lists.php.net



------------------------------------------------------------------------

[2002-10-04 07:44:12] priebe@mi-corporation.com

I grabbed a snapshot today (php4-200210040300).  I jtate's script, and
still got the erroneous (IMO) behavior.  My connection to the server
did not close until the shutdown function completed.  

Looking at the suspect section of sapi_apache.c, I do not see any
changes.  Not that I expected to see my patch verbatim, but I would
expect something in that vicinity to change.

------------------------------------------------------------------------

[2002-10-02 10:33:06] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip



------------------------------------------------------------------------

[2002-10-02 09:35:00] priebe@mi-corporation.com

Is this really a dupe of 14251?  Maybe they involve some of the same
code, but these are really two different issues.  14251 involves the
fact that the shutdown function code gets a different working
directory.  15209 concerns whether the shutdown function runs before or
after the HTTP connection is closed.

------------------------------------------------------------------------

[2002-10-01 06:04:16] yohgaki@php.net

Dup of #14251

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/15209

-- 
Edit this bug report at http://bugs.php.net/?id=15209&edit=1



Thread (1 message)

  • andrei@php.net
  • Unknown Message
    • andrei@php.net
« previous php.bugs (#27341) next »