Skip to content

Commit 4576817

Browse files
authored
fix: Disable HTTP keepalives (#223)
1 parent 67d5fb0 commit 4576817

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mido.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ getESD() {
457457
local eFile="esd_edition.xml"
458458
local fFile="products_filter.xml"
459459

460-
{ wget "$winCatalog" -O "$dir/$wFile" -q --timeout=30; rc=$?; } || :
460+
{ wget "$winCatalog" -O "$dir/$wFile" -q --timeout=30 --no-http-keep-alive; rc=$?; } || :
461461

462462
msg="Failed to download $winCatalog"
463463
(( rc == 3 )) && error "$msg , cannot write file (disk full?)" && return 1
@@ -583,7 +583,7 @@ downloadFile() {
583583
info "$msg..."
584584
/run/progress.sh "$iso" "$size" "$msg ([P])..." &
585585

586-
{ wget "$url" -O "$iso" -q --timeout=30 --show-progress "$progress"; rc=$?; } || :
586+
{ wget "$url" -O "$iso" -q --timeout=30 --no-http-keep-alive --show-progress "$progress"; rc=$?; } || :
587587

588588
fKill "progress.sh"
589589

0 commit comments

Comments
 (0)