cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Libcurl Multi-Environment Timing Problems + DETAIL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 Jul 2010 20:41:20 +0200 (CEST)

On Fri, 9 Jul 2010, Paul Romero wrote:

> I performed more experiments and discovered the timing problem is worse than
> I originally thought. First, a delay of even 1 microsecond works. Second,
> outputting the "Wait" message or any message to stdout or stderr plays a
> role too. If you don't output a message the pause() hangs.

So let me repeat my questions about your oddities. Why do you play funny
tricks with the sockets that libcurl "owns" ? It's not something we support.

> I noticed that only file descriptor 0 is set and that is usually stdout in
> Linux. I really thing that is the crux or the problem.

I don't understand. Why is 0 being stdout a problem?

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