<br><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 3:03 PM, Dan <span dir="ltr"><<a href="mailto:freeswitch-users@digitaldan.com">freeswitch-users@digitaldan.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:Times New Roman;font-size:12pt;color:#000000">My lua script is calling wget through lua's io.popen to send and receive data from a web service. While the f:read to wget is running, other incoming calls will block on the same io.popen call until the first call closes the pipe (with f:close()). </div>
</div></blockquote></div><div><br></div><div>You might want to look at the api that mod_curl exposes to do what you want. No need to do an expensive system call just to call a webservice.</div><br>-- <br>-Rupa<br>