cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: Values of Running handles

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 27 Nov 2009 11:43:42 +0100 (CET)

On Fri, 27 Nov 2009, centrio_at_gmail.com wrote:

> Is it true that runningHandles will become 0 only if the Connection is
> closed.

No.

runningHandles reaches 0 when all requests/transfers that are added to the
multi handle have completed.

> What is its 0 since the beginning and never become 1.?

Then you never added any easy handle or that transfer failed immediately.

> Is it possible that runningHandles never take the value 1 according to above
> code?

I didn't see any code that adds a handle.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-27

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET