cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: about the api,curl_multi_info_read

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 Mar 2012 23:01:05 +0100 (CET)

On Wed, 21 Mar 2012, Chenglong Chen wrote:

> in my program,i used CURLMOPT_SOCKETFUNCTION to monitor the
> sock(CURL_POLL_REMOVE event) to cleanup some resource. and i used
> curl_multi_info_read to read the complete http request.then
> curl_multi_remove_handle. but i found the times of remove sock less than the
> times of complete http request.so there is some memory leak in my
> program.and i don't know why?

I don't fully understand what you're describing. Can you provide an example
source code that shows the leak occuring - one that we can build and run to
see?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-23