curl-library
Re: End of Line Handling (affects ALL platforms)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 21 Apr 2006 15:59:56 +0200 (CEST)
Date: Fri, 21 Apr 2006 15:59:56 +0200 (CEST)
On Thu, 20 Apr 2006, David McCreedy wrote:
>> It doesn't. The outcome is instead that libcurl can't verify that the
>> complete and expected file size was transfered.
>
> I'm a bit confused here; Where am I going wrong?
> I've confirmed this path: My connection is indeed being closed due to the
> conn->bits.close flag being on due to a size mismatch.
Clearly I'm the confused person here. You are right, I was wrong. Sorry!
But I would prefer to be right here, and we do ignore the size when we list
directories and I think we should do that for ASCII transfers too since we
don't know when to sound the alarm or not.
I think we should simply skip the size checks if we do ascii transfers.
Or am thinking wrong again?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-04-21