Page 1 of 1

CURL affects other function's process

Posted: Thu Oct 22, 2009 2:10 am
by dineshsdk85
Hi,

I am running my application in php-gtk2. It is a standalone application. I am using CURL to retrieve XML tags from the asterisk server in one function. Whenever i call that function, my application hangs for 30 to 40 secs. That CURL usually will take that time to retrieve the XML code from the asterisk server. I want to handle this situation now.

Can anyone give me the idea or sample to run my application smoothly without hanging? In that way my CURL program should give it's result in parallel other function should also work if i do any action in my application.