curl-library
Is curl_easy_reset broken?
Date: Mon, 24 Jan 2011 01:23:19 +0530
Hi,
I am upgrading my libcurl from an older version to the latest version. My application has a special requirement where it should not close the socket to the server if we receive positive responses for the http POST requests (200 responses from the server).
I used to reset the curl handle using curl_easy_reset if the handle existed and this worked for me previously. While merging with the latest version my application code was not working as it was intended. The library failed to embedd(XML data) the data that I passed for the second time. So the first request was always sucess and the subsequent requests were failures. Some one did suggested not to use curl_easy_reset. I tried it and it seems to work with the latest LIBCURL version available
My query is that should not the curl_easy_reset work as it was working in the previous releases? From the code from the curl_easy_reset it seems to me that it resets the timer and other data. Is curl_easy_reset correct API or is it modified lately?
Kindly guide me for the same.
Regards
Darshan
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-23