Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Setting CURLOPT_INFILESIZE to -1 leads to error #2047
I did this
Call the following function:
I expected the following
Get return value
instead got the following
curl 7.56.1 (x86_64-pc-linux-gnu) libcurl/7.56.1 OpenSSL/1.0.2l zlib/1.2.11
Gentoo Base System release 2.4.1
Previous version of curl (7.56.0) does not have this problem.
The problem was originally identified when using curlftpfs. After upgrading the system installation of curl to 7.56.1 it became impossible to upload files to FTP servers mounted via curlftpfs.