Curl Global Community

Full Version: Weird behaviour while receiving the data
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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