curl-library
Re: Test 584 failures on FreeBSD after 5b2342d3772
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 15 Jun 2014 00:20:02 +0200 (CEST)
Date: Sun, 15 Jun 2014 00:20:02 +0200 (CEST)
On Thu, 5 Jun 2014, Fabian Keil wrote:
>> I assume that's because the info() call has the side effect of slightly
>> delaying Curl_addHandleToPipeline(), but I haven't confirmed that.
>
> The attached patch uses wait_ms(1) instead of info() and works around the
> problem as well, so I consider this theory confirmed.
Oh yes indeed. Annoying. I still wonder if this is truly a problem on that
platform in real-life or only a test problem... that is not terribly easy to
tell.
Regarding the patch, we do have a portable Curl_wait_ms() function that could
be used.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-06-15