ipset: github disabled gzip support

This commit is contained in:
bol-van
2024-06-19 09:03:15 +03:00
parent dcae31fae8
commit eebe68ca65
6 changed files with 17 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ dl_checked()
# $3 - minsize
# $4 - maxsize
# $5 - maxtime
curl -H "Accept-Encoding: gzip" -k --fail --max-time $5 --connect-timeout 10 --retry 4 --max-filesize $4 "$1" | gunzip - >"$2" ||
curl -k --fail --max-time $5 --connect-timeout 10 --retry 4 --max-filesize $4 -o "$2" "$1" ||
{
echo list download failed : $1
return 2