Merge remote-tracking branch 'origin/topic/timw/retry-update-traces'

* origin/topic/timw/retry-update-traces:
  Add --retry to curl invocations in update-traces
This commit is contained in:
Tim Wojtulewicz 2022-05-16 09:09:37 -07:00
commit 1d20e28e5c
3 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
5.0.0-dev.401 | 2022-05-16 09:09:37 -0700
* Add --retry to curl invocations in update-traces (Tim Wojtulewicz, Corelight)
5.0.0-dev.399 | 2022-05-16 09:09:05 -0700
* GH-2103: Disable leak detection for bifs.footprint in another way (Tim Wojtulewicz, Corelight)

View file

@ -1 +1 @@
5.0.0-dev.399
5.0.0-dev.401

View file

@ -53,7 +53,7 @@ cat $cfg | while read line; do
# Get the fingerprint file.
echo Getting $safe_url.md5sum ...
eval "$proxy curl $auth -fsS --anyauth $url.md5sum -o $fp.tmp" || {
eval "$proxy curl $auth -fsS --anyauth --retry 2 $url.md5sum -o $fp.tmp" || {
echo "Error: Could not get $safe_url.md5sum"
exit 1
}
@ -71,7 +71,7 @@ cat $cfg | while read line; do
if [ "$download" = "1" ]; then
echo Getting $safe_url ...
eval "$proxy curl $auth -f --anyauth $url -o $file" || {
eval "$proxy curl $auth --retry 2 -f --anyauth $url -o $file" || {
echo "Error: Could not get $safe_url"
exit 1
}