ID:               15209
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: RH Linux 7.2
 PHP Version:      4.1.x - 4.2.1
 New Comment:

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.


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

[2002-10-02 10:33:06] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Dup of #14251

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

[2002-08-19 14:01:08] [EMAIL PROTECTED]

I am using AIX 4.3.3, Apache 1.3.26, mod_perl 1.26 and PHP 4.2.2 This
problem is one of 2 that are causing compilation failures for me.

The other is that the LARGE_FILE definition (in mod_perl's
ap_config_auto.h) is causing "conflicting type" errors for mmap64 when
compiling sapi_apache.c (I will raise a seperate bug report for this
second problem)

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

[2002-06-27 11:56:37] [EMAIL PROTECTED]

I agree that there should be a function that can run things after the
script has finished with it's output portion. I can think of many
examples where this is desirable.

For example, if I wanted to get a list of ads to display on a website,
i could run the DB queries that do the logging after the user is
happily on thier way to other things. This would yeild a significant
*PERCEIVED* speed increase for the user.

If it only works on Apache/*NIX, I think that's fine. More incentive to
switch to this platform. There are other functions and features that
are specific to this platform too.

I JUST found this function, and I've got a few very good uses for it
(the case where the connection is closed BEFORE the function runs).
Plus maintaining backwards compatability would be nice :)

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

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

Reply via email to