cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: need for fix in curl lib

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 2 Aug 2001 18:52:53 +0200 (MET DST)

On Thu, 12 Jul 2001, Tomasz.Lacki wrote:

> There seems to be a need for fix in the curl lib 7.8.
> In the transfer.c file in the Transfer function after lines: like
> keepon &= ~KEEP_READ;
> there is a lack of
> FD_ZERO(&rkeepfd);
> and
> keepon &= ~KEEP_WRITE
> there is a lack of
> FD_ZERO(&wkeepfd);
>
> otherwise heavy loop appears and process consumes upto 99% of processor
> time, because loop on the select does not wait at all.

Correct.

This is now fixed in the CVS version. Thanks a lot for pointing this out.

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
Received on 2001-08-02