httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56188] mod_proxy_fcgi does not send FCGI_ABORT_REQUEST on client disconnect
Date Fri, 23 Dec 2016 21:28:34 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=56188

--- Comment #10 from Luca Toscano <toscano.luca@gmail.com> ---
Another bit of info:

http://php.net/manual/en/function.ignore-user-abort.php

> PHP will not detect that the user has aborted the connection until an attempt is made
to send information to the client.
> Simply using an echo statement does not guarantee that information is sent, see flush().

In the above example, adding ob_flush() and flush() triggers a stop of the PHP
processing right after the curl HTTP request / connection is aborted.

Justin, Jason - would you mind to add a tiny example of your XHR use case and
how it fails? Having a good repro will surely help in speeding up this review
process (at least for me!).

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message