CURL affects other function's process

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
dineshsdk85
Forum Newbie
Posts: 1
Joined: Thu Oct 22, 2009 2:09 am

CURL affects other function's process

Post 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.
Post Reply