note 57057 added to features.connection-handling
| From: | bg at ms dot com | Date: | Thu, 22 Sep 2005 13:42:15 +0000 |
| Subject: | note 57057 added to features.connection-handling | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95607@lists.php.net to get a copy of this message | ||
Confirmed. User presses STOP button. This sends a RST packet and closes the connection. PHP is
most certainly immediately affected (i.e., the script is stopped, whether or not any output is
pending for the user, or even if script is just grinding away on a database without having output
anything).
ignore_user_abort() exists to prevent this.
If user STOPS, script ignores the RST and runs to completion (the output is apparently ignored by
apache and not sent to the user, who sent the RST and closed the TCP connection). If user's
connection just vanishes (isp problem, disconnect, whatever), and there is no RST sent by user, then
eventually the script will timeout.
----
Manual Page -- http://www.php.net/manual/en/features.connection-handling.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57057
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57057&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57057&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57057&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57057&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57057&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57057&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57057&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57057&report=yes
Search -- http://master.php.net/manage/user-notes.php