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