1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

Enforce minimum for curl(_file_download)_timeout

This commit is contained in:
sfan5
2023-09-26 16:00:16 +02:00
parent ac8a9f9502
commit 9ec40ce8e9
5 changed files with 14 additions and 5 deletions

View File

@@ -2099,7 +2099,7 @@ num_emerge_threads (Number of emerge threads) int 1 0 32767
[**cURL]
# Maximum time an interactive request (e.g. server list fetch) may take, stated in milliseconds.
curl_timeout (cURL interactive timeout) int 20000 100 2147483647
curl_timeout (cURL interactive timeout) int 20000 1000 2147483647
# Limits number of parallel HTTP requests. Affects:
# - Media fetch if server uses remote_media setting.
@@ -2109,7 +2109,7 @@ curl_timeout (cURL interactive timeout) int 20000 100 2147483647
curl_parallel_limit (cURL parallel limit) int 8 1 2147483647
# Maximum time a file download (e.g. a mod download) may take, stated in milliseconds.
curl_file_download_timeout (cURL file download timeout) int 300000 100 2147483647
curl_file_download_timeout (cURL file download timeout) int 300000 5000 2147483647
[**Misc]