The issue is resolved, by setting CURLOPT_POSTFIELDS & CURLOPT_POSTFIELDSIZE to NULL & 0 respectively.
On Tue, Jan 17, 2012 at 3:37 PM, Dan Fandrich <d...@coneharvesters.com>wrote: > On Tue, Jan 17, 2012 at 03:19:35PM +0530, sukanya c wrote: > > Thanks Dan for your timley reply. It worked as per your suggestion. > > > > But with the previous mentioned scenario, I am stuck up at other place. > For my > > request(with no content), server responds with some response, but > libcurl is > > not passing the response to my application. I captured TCP packets and > it shows > > the response received from the server, but libcurl is not posting to > > application. > > Can you show us the code that does this and the resultant transfer log? > Have > you installed the correct callbacks to receive the headers and/or data? > > >>> Dan > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: http://curl.haxx.se/mail/etiquette.html >
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html