cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multi interface is broken with active FTP connection

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Oct 2011 13:13:39 +0200 (CEST)

On Sun, 23 Oct 2011, Gokhan Sengun wrote:

> What about setting the timeouts which are fed to "select" calls quite big in
> the automated test sources? They may be like 10 minutes or so or even NULL
> to cause indefinete blocking in the calling thread therefore make the
> problem easily recognizable.

We wouldn't want a hang in case of failures, and I much rather prefer it to
wait for say 5 seconds and then consider a timeout to be a lethal failure and
bail out with an error...

Test 525 should be possible to rewrite to do this, and quite likely can other
multi interface using tests.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-24