|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-03-25 14:00 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 13:00:01 2025 UTC |
Description: ------------ When using php in fastcgi mode, it does not detect any user abort. connection_status() always return 0, even after user aborts connection. Reproduce code: --------------- <? ignore_user_abort(true); echo "hello"; flush(); sleep(10); echo "bye" $fp=fopen('/tmp/conection_log.txt','a'); fputs($fp,'Connection status is: '.connection_status()."\n"); fclose($fp); ?> Expected result: ---------------- Return 0 Actual result: -------------- Not return 0.