cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: running_handles and the multi API

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 1 Feb 2010 22:30:04 +0100 (CET)

On Mon, 1 Feb 2010, Robert Iakobashvili wrote:

>> Yes a failed connect could work at next attempt, but libcurl itself doesn't
>> do the retry. It simply properly informs that the connect failed and the
>> application can then easily just re-add the handle again to get the
>> connection retried.
>
> So you are saying, the not-connected sockets were never included in the
> count before. Okay.

Exactly. They might've been included immediately before they failed, but not
after they actually failed.

> I would to test the patch in curl-loader. Is it passing the curl tests?

Yes, but they're not very extensive in this particular area.

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