From: Donncha O Caoimh (donncha.ocaoimh at domain tradesignals.com)
Date: Wed 31 May 2000 - 14:16:10 IST
Just got a reply back from the PHP guys:
----------------------------------------------------
please make sure that you have a decent time_limit setting in php.ini
*PLUS* make sure that you have setted
ignore_user_abort to Off in php.ini that way the php will stop as sson
as it can no longer write
to the client.
----------------------------------------------------
ignore_user_abort is a new option which I've never seen before but it
does the job and Apache behaves properly :)
Donncha.
Wesley Darlington wrote:
>
> Hi All,
>
> On Mon, May 29, 2000 at 12:52:15PM +0100, Donncha O Caoimh wrote:
> > While working on a data streaming app I think I stumbled upon something
> > strange.
[snip]
> > in server side scripting?
> > (or else it's a PHP4 bug..)
>
> AFAIK, the server will stop when the server process tries to
> write to the socket and discovers that it's gone. Y'know the
> sort of thing ... and there it was, gone! It'll keep merrily
> running if it's doing something that doesn't involve output.
>
> Does your infinite loop write anything? If it is writing
> something at every stage in the loop, then you may have a
> different problem... :-)
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:19 GMT