HomeFreeBSD

Wait a maximum of 300 seconds for network send/recv in libsa

Description

Wait a maximum of 300 seconds for network send/recv in libsa

The reason for this change is that currently, a send/recv
takes many hours to time out.
This is suboptimal in the bootloader because it means for example
that NFS will take hours to fail before allowing subsequent access
methods such as gzip to be tried.

Setting MAXWAIT to 300 seconds (5 minutes) still allows slow
connections of 1Mb to be used to download a 30MB kernel file.

(cherry picked from commit d5cee48f3e65662051e15c85e4fc1841d72977fe)

Details

Provenance
bcranAuthored on Dec 20 2018, 7:27 PM
kevansCommitted on Oct 8 2021, 2:41 AM
Parents
rG72004aae0c33: Nuke out buffer overflow safety marker code.
Branches
Unknown
Tags
Unknown