PHP :: Bug #76419 :: connection_aborted() under FPM doesn't work properly
php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76419 connection_aborted() under FPM doesn't work properly
Submitted: 2018-06-06 12:54 UTC Modified: -
From: deewde at gmail dot com Assigned:
Status: Open Package: FPM related
PHP Version: 7.0.30 OS: Debian 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: deewde at gmail dot com
New email:
PHP Version: OS:

 

 [2018-06-06 12:54 UTC] deewde at gmail dot com
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Fri Aug 17 06:01:24 2018 UTC