https://bz.apache.org/bugzilla/show_bug.cgi?id=56188

--- Comment #8 from Luca Toscano <[email protected]> ---
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to