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 Thu, 22 Dec 2016 17:44:51 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=56188

--- Comment #8 from Luca Toscano <toscano.luca@gmail.com> ---
Another script that illustrates the issue:

<?php

// current time
echo date('h:i:s') . "\n";

// sleep for 10 seconds
sleep(10);

$myfile = fopen("/tmp/timetable", "w") or die("Unable to open file!");

for ($i=0; $i<1000000; $i++) {
   $txt = date('h:i:s') . "\n";
   fwrite($myfile, $txt);
}

fclose($myfile);

// wake up !
echo date('h:i:s') . "\n";

?>

The /tmp/timetable will be written every time, even if:

1) Timeout or ProxyTimeout are set to 5 seconds (random number less than 10).
2) A client disconnects happens during the sleep time.

-- 
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