cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP client as new child process

From: Ajay Tanpure <ajaytanpure92_at_gmail.com>
Date: Wed, 20 Feb 2013 18:46:06 +0530

Hello,

I want to read data from parent process through pipe. If i use the
character pointer to read the data, then some garbage values are
stored in the character array, but if i use character array of fixed
length, then data is read as it is.
This problem occurs when i use the libcurl functions.

I am WriteCallback function to get responses from server and store in
memory as given n example http://curl.haxx.se/libcurl/c/getinmemory.html

The source code that I have attached, it is character pointer, working part
i have commented out.

Can anyone Please tell me what goes wrong when i am using character pointer.

Thank you

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

  • text/x-csrc attachment: f.c
Received on 2013-02-20