attempt to tweak some http params

This commit is contained in:
Luxferre
2024-10-25 18:59:09 +03:00
parent 639de755f6
commit f25a2a723c
+1 -1
View File
@@ -153,7 +153,7 @@ proc getfile {url} {
} else {return {}}
}
https - http {
set hs [::http::geturl $url -binary 1 -keepalive 1 -timeout 5000]
set hs [::http::geturl $url -binary 1 -keepalive 0 -timeout 4000]
if {[::http::ncode $hs] eq "200"} {
return [::http::data $hs]
} else {return {}}