cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: libcurl hangs in malloc_consolidate

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 Mar 2007 09:25:55 +0100 (CET)

On Thu, 22 Mar 2007, Mark Wattier wrote:

> The multiple accesses are simply done sequentially, by calling
> myapp_http_post2 multiple times. This is a single threaded program. It is
> forked from a parent process, but curl is initialized and only used in the
> child.
>
> I am also calling curl_free after using curl_escape, in the code that calls
> myapp_http_post2. Are there issues with using realloc in the callback
> function?

Nope. I would suggest you try running your app with valgrind to see if it can
pinpoint something.

Oh, and seeing this is about libcurl you should consider using the
curl-library mailing list instead to reach the libcurl hacking crowd.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-23