nQuake / server-linux

nQuake (QuakeWorld) server for Linux
http://www.nquake.com/
39 stars 14 forks source link

Ensure wget spam less messages on large files #49

Open nvtkaszpir opened 1 year ago

nvtkaszpir commented 1 year ago

not tested ¯_(ツ)_/¯

nvtkaszpir commented 1 year ago

also this can be dropped in favour of creating ~/.wgetrc file:

connect_timeout = 10
progress = dot:giga
retry_connrefused = on
tries = 5

Example output:

--2022-11-21 21:53:33--  https://github.com/nQuake/distfiles/releases/download/snapshot/sv-maps.zip
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/241981941/75fa7a0d-5cd1-444c-8529-18853d2e08d2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221121%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221121T215333Z&X-Amz-Expires=300&X-Amz-Signature=7ac8b47b994dccf2f9addec1bb3d8e7b41832b6b3ab6f05aa39b03387ef88a98&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=241981941&response-content-disposition=attachment%3B%20filename%3Dsv-maps.zip&response-content-type=application%2Foctet-stream [following]
--2022-11-21 21:53:33--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/241981941/75fa7a0d-5cd1-444c-8529-18853d2e08d2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221121%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221121T215333Z&X-Amz-Expires=300&X-Amz-Signature=7ac8b47b994dccf2f9addec1bb3d8e7b41832b6b3ab6f05aa39b03387ef88a98&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=241981941&response-content-disposition=attachment%3B%20filename%3Dsv-maps.zip&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 119355879 (114M) [application/octet-stream]
Saving to: 'sv-maps.zip'

     0K ........ ........ ........ ........ 28% 12.2M 7s
 32768K ........ ........ ........ ........ 56% 21.6M 3s
 65536K ........ ........ ........ ........ 84% 22.3M 1s
 98304K ........ ........ .                100% 21.5M=6.4s

2022-11-21 21:53:40 (17.9 MB/s) - 'sv-maps.zip' saved [119355879/119355879]