Bug #76419 [NEW]: connection_aborted() under FPM doesn't work properly

From: Date: Wed, 06 Jun 2018 12:54:27 +0000
Subject: Bug #76419 [NEW]: connection_aborted() under FPM doesn't work properly
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215516@lists.php.net to get a copy of this message
From: deewde at gmail dot com Operating system: Debian 9 PHP version: 7.0.30 Package: FPM related Bug Type: Bug Bug description:connection_aborted() under FPM doesn't work properly Description: ------------ Calling connection_aborted() during a long-running request in a while loop will always return 0, even if the user navigated away a long time ago. The internet says that FPM will ignore the FCGI_ABORT_REQUEST signal sent by the web server and that's the cause. My environment is nginx-light 1.10.3-1+deb9u1 php 7.0.27-0+deb9u1 on Debian 9.3 -- Edit bug report at https://bugs.php.net/bug.php?id=76419&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76419&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76419&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76419&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76419&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76419&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76419&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76419&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76419&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76419&r=support Expected behavior: https://bugs.php.net/fix.php?id=76419&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76419&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76419&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76419&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76419&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76419&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76419&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76419&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76419&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76419&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76419&r=mysqlcfg

« previous php.bugs (#215516) next »