curl-users
Re: FTP may not timeout
From: SM <nntp_at_iname.com>
Date: Fri, 09 Feb 2001 00:08:05 +0400
Date: Fri, 09 Feb 2001 00:08:05 +0400
Hi,
At 08:39 08-02-2001 +0100, Daniel wrote:
>It is?
>
>So the read returns 0? Ok, so the check (on line 285) should instead be
>
> else if(keepon <= 0)
> error = SELECT_ERROR;
>Right?
The above change is fine.
I suggest adding a failf to have a descriptive error in the error buffer.
else if(keepon <= 0) {
error = SELECT_ERROR;
failf(data, "Connection aborted");
}
Thanks
Received on 2001-02-08