On Mon, Aug 25, 2014 at 10:29 AM, Jonathan Ben Avraham <y...@tkos.co.il> wrote:
> Hi Erez, > Did you include the response header > > Connection: close > > ? > yes > > - yba > > > On Mon, 25 Aug 2014, Erez D wrote: > > Date: Mon, 25 Aug 2014 10:25:49 +0300 >> From: Erez D <erez0...@gmail.com> >> To: linux-il <linux-il@cs.huji.ac.il> >> Subject: cgi bg >> >> >> hi >> >> i have a php cgi scripts that >> 1. generates an http response , this takes less than a second >> 2. do some stuff that may take some time, lets say a minute >> >> when posting to that cgi, although the html is returned in less then a >> second, the request >> is not closed until the minute has passed. >> >> i want the http transaction to be closed when done (i.e. less than a >> minute) >> but the php script to continue it's action (e.g. the minute it takes) >> >> can i do it in php ? i.e. flush, or send eof, which will finish the >> request but leave the >> php running until done ? >> >> >> thanks >> erez >> >> >> > -- > 9590 8E58 D30D 1660 C349 673D B205 4FC4 B8F5 B7F9 ~. .~ Tk Open Systems > =}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo--------- > ---{= > mailto:y...@tkos.co.il tel:+972.52.486.3386 http://tkos.co.il > skype:benavrhm > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > >
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il