Skip to content

Commit

Permalink
fix: Disable HTTP keepalives (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Nov 13, 2024
1 parent 6919e36 commit 66f595d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mido.sh
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ getESD() {
local eFile="esd_edition.xml"
local fFile="products_filter.xml"

{ wget "$winCatalog" -O "$dir/$wFile" -q --timeout=30; rc=$?; } || :

This comment has been minimized.

Copy link
@SHAIKADIL522

SHAIKADIL522 Nov 13, 2024

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

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

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

{ wget "$url" -O "$iso" -q --timeout=30 --show-progress "$progress"; rc=$?; } || :

This comment has been minimized.

Copy link
@SHAIKADIL522

SHAIKADIL522 Nov 13, 2024

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

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

fKill "progress.sh"

Expand Down

0 comments on commit 66f595d

Please sign in to comment.