]> diplodocus.org Git - nmh/commitdiff
mhn.defaults: make fetch less agressive on FreeBSD.
authorLyndon Nerenberg <lyndon@orthanc.ca>
Sun, 5 Oct 2014 19:28:56 +0000 (12:28 -0700)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Sun, 5 Oct 2014 19:28:56 +0000 (12:28 -0700)
Drop the -a flag to fetch.  Its retry logic has a bug where it will
go into an endless loop when trying to re-fetch an object behind
an https:// link when it is unable to validate the X.509 certificate
chain.

etc/mhn.defaults.sh

index 7b894498ea0b8af9691a3f0aa79aa13a6511ef4b..26e5f9109070a36bdc5e27ff631b1afaf686c18a 100755 (executable)
@@ -316,7 +316,7 @@ fi
 # access-type.
 case "`uname`" in
   FreeBSD)
 # access-type.
 case "`uname`" in
   FreeBSD)
-       echo "nmh-access-url: fetch -a -o -" >> $TMP
+       echo "nmh-access-url: fetch -o -" >> $TMP
        ;;
   *)
        PGM=`$SEARCHPROG "$SEARCHPATH" curl`
        ;;
   *)
        PGM=`$SEARCHPROG "$SEARCHPATH" curl`