From e61de373bd09c229a08e71469aa413e949134c29 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Thu, 10 Aug 2023 14:42:31 +0800 Subject: process_url: lower low-speed timeout to 30s --- src/process_url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/process_url.c b/src/process_url.c index 135c181..8f21f58 100644 --- a/src/process_url.c +++ b/src/process_url.c @@ -316,7 +316,7 @@ static int pull_part(void *a) { curl = curl_easy_init(); curl_easy_setopt(curl, CURLOPT_URL, curl_c->URL); curl_easy_setcommonopts(curl); - curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 60L); + curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 30L); curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 30L); curl_easy_setopt(curl, CURLOPT_WRITEDATA, curl_c->fplist[n]); curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L); -- cgit v1.2.3