curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: 8.7.1 : client read function EOF fail, only x/y of needed bytes read

From: Stefan Eissing via curl-library <>
Date: Wed, 27 Mar 2024 12:53:14 +0100

> Am 27.03.2024 um 12:05 schrieb Matt Barnett via curl-library <>:
> Hi All
> I have noticed a possible issue in 8.7.1...
> I am using libcurl within Visual Studio 2019 C++ on Win x64 to upload files via SFTP
> With 8.6.0 all works great but when I compile the same project using libs built against 8.7.1 I see the following error :
> * client read function EOF fail, only 127391/129435 of needed bytes read
> Before I upload the file I do output the file_info.st_size to my log and it confirms my local file size as 129435 bytes
> I think the issue is related to the changes in "file: use xfer buf for file:// transfers [23]"
> Before I waste anyone's time by raising a bug (and before I investigate myself with my admittedly rusty c skills) I wondered if anyone else was seeing the same?
> First time post to the list - hope I've followed the rules

Hi Matt,

that sounds like a bug in the refactored code. We would need more information like how you setup the transfer and a log to find out what is going wrong for you. It's probably best to do that in a github issue.

Kind Regards,

> --
> Unsubscribe:
> Etiquette:

Received on 2024-03-27