Curl Global Community
Weird behaviour while receiving the data - Printable Version

+- Curl Global Community (https://communities.curl.com)
+-- Forum: Discussions (https://communities.curl.com/forumdisplay.php?fid=1)
+--- Forum: General Curl questions (https://communities.curl.com/forumdisplay.php?fid=2)
+--- Thread: Weird behaviour while receiving the data (/showthread.php?tid=654)



Weird behaviour while receiving the data - rupesh.shukla - 11-29-2012

Hello All,
I am getting a very strange problem . I am reading 1000 images data from my server . In MyThread Function i am calling curl_easy_perform() everything is working fine but at some point my thread terminate with SUCCEESS but with uncomplete data . When i tried to print my data i can see in the middle of data i get a 0 a NULL where my thread get terminated and my WRITEDAT callback function terminate with a SUCCEESS . i Don't know how and why .most weird this situation doesn't come in the picture always it happen one of three time . Did anyone had face this type of issue. I am stuck help needed