cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: need for fix in curl lib

From: Domenico Andreoli <cavok_at_filibusta.crema.unimi.it>
Date: Thu, 12 Jul 2001 15:46:36 +0200

On Thu, Jul 12, 2001 at 02:58:43PM +0200, Tomasz.Lacki wrote:
> Hi
> 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.
>
> Best Regards Tomek
>
>

-----[ Domenico Andreoli, aka cavok
 --[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
Received on 2001-07-12