mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
f1dceb0919
Fixes this bug in particular: https://sourceforge.net/p/curlftpfs/bugs/70/
11 lines
587 B
Diff
11 lines
587 B
Diff
--- a/ftpfs.c 2008-04-30 01:05:47.000000000 +0200
|
|
+++ b/ftpfs.c 2010-05-21 13:01:42.569006163 +0200
|
|
@@ -503,7 +503,6 @@ static void *ftpfs_write_thread(void *da
|
|
|
|
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, fh->full_path);
|
|
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_UPLOAD, 1);
|
|
- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, -1);
|
|
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READFUNCTION, write_data_bg);
|
|
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READDATA, fh);
|
|
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_LOW_SPEED_LIMIT, 1);
|