diff --git a/source/dub/internal/utils.d b/source/dub/internal/utils.d index 9aad1b2..5879e79 100644 --- a/source/dub/internal/utils.d +++ b/source/dub/internal/utils.d @@ -547,7 +547,7 @@ conn.handle.set(CurlOption.connecttimeout, timeout); // transfers time out after 8s below 10 byte/s conn.handle.set(CurlOption.low_speed_limit, 10); - conn.handle.set(CurlOption.low_speed_time, 5); + conn.handle.set(CurlOption.low_speed_time, timeout); } conn.addRequestHeader("User-Agent", "dub/"~getDUBVersion()~" (std.net.curl; +https://github.com/rejectedsoftware/dub)");