summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fb-upload.c.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/fb-upload.c.in b/fb-upload.c.in
index a6410ee..b0a44ee 100644
--- a/fb-upload.c.in
+++ b/fb-upload.c.in
@@ -213,6 +213,8 @@ int main(int argc, char *argv[])
curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback);
curl_easy_setopt(curl, CURLOPT_USERAGENT, userAgent);
curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
+ curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, (long)1);
+ curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, (long)30);
gettimeofday(&cb_data.starttime, NULL);
res = curl_easy_perform(curl);