cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem regarding OPENSOCKETFUNCTION & CLOSESOCKETFUNCTION

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 4 Jan 2012 15:33:18 +0100 (CET)

On Wed, 4 Jan 2012, Yamin Zhou wrote:

> The problem I run into is the number of OPENSOCKET being called isn't equal
> to that of CLOSESOCKET, so we sometimes saw a situation that
> m_connectionsInUse becomes minus (shown in log as below).

We fixed at least one such bug recently with FTP connections I believe.

What libcurl version are you using and what protocols? Can you provide a small
example code that repeats the problem?

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