cURL / Mailing Lists / curl-library / Single Mail


Re: HTTP client as new child process

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


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

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:

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