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.
CURL will not slow down the application. Its a component of the application which is taking so much time which you need to identify and optimize if possible. Share more details about process and structures to give better idea about it..