cURL / Mailing Lists / curl-users / Single Mail

curl-users

need for fix in curl lib

From: Tomasz.Lacki <Tomasz.Lacki_at_primark.pl>
Date: Thu, 12 Jul 2001 14:58:43 +0200

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
Received on 2001-07-12