ID:               24797
 User updated by:  spagmoid at yahoo dot com
 Reported By:      spagmoid at yahoo dot com
-Status:           Bogus
+Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: WinXP
 PHP Version:      4.3.2
 New Comment:

Jesus you people are dense.  You lose the attitude.
Then me try to explain this in a way you can understand:

1. script runs
2. script sends data
3. script ends connection, sending all data <- feature missing
4. script does other stuff
5. script exits


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

[2003-07-26 12:32:28] [EMAIL PROTECTED]

The message [EMAIL PROTECTED] included with his bogusifying was a template
response.  For the purposes of this bug reporting system Feature
Requests and Bugs are largely equivalent.   So.... scale back the
attitude m'kay?

Second, this *IS* bogus.  As a quick look at the manual will show a
chapter on "Connection Handling" in which you'll find a clearly
documented reference to:
http://www.php.net/manual/en/function.ignore-user-abort.php which will
accomplish what you describe in the first half of your report.

What you describe in the second half of your report directly
contradicts the first half.  You want the connection closed but you
want to send the last of the mod_gzip data?



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

[2003-07-25 10:26:46] spagmoid at yahoo dot com

Why are you telling me this is not "a bug in PHP itself"?

I didn't submit a bug, I submitted a feature change/request.  That's
why it says "FEATURE REQUEST" in about 20 places.

register_shutdown_function() does not do what I described.  I want the
script to stay running AFTER the connection is closed.  Data can still
be sent in the function called by register_shutdown_function(),
therefore the connection must still be OPEN.

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

[2003-07-25 04:18:04] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Use register_shutdown_function()

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

[2003-07-24 15:30:36] spagmoid at yahoo dot com

Description:
------------
feature request: A way to close the connection with the client, while
keeping the script running?  Is this possible?  

Also helpful to do a flush that will result in final sending of data
when using mod_gzip etc.



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


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

Reply via email to