curl-library
Re: one remaining issue before next release
Date: Tue, 13 Apr 2004 17:25:02 +0200 (CEST)
On Tue, 13 Apr 2004, Gisle Vanem wrote:
> > What do you think about my idea to bind() the UPD socket on 127.0.0.1 so
> > that the thread can make the socket readable?
>
> For the purpose of curl_multi_perform() ? Shouldn't a multi-app just call
> select() with a small timeout?
They don't need to, since select() returns when there is something to do. An
app author could simply use a long timeout and if that happens consider the
situation to be really bad. At least that has been what I've thought.
> And people using software firewalls would wonder why curl apps opens a port
> to some unexpected destination. Would be a FAQ candidate.
Hm, yes, that's not very cool. I've been trying to come up with an idea that
solves this in a nicer way, but perhaps the current way (and a documented
"shortish" timeout) is the best we can do...
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-04-13