For an internal use case at DigitalOcean, we don't need the timeout capabilities of this package. With timeouts, system calls are performed repeatedly to keep checking the socket for readiness.
This implements a new configuration option (on Linux only for now, but the same could be ported to BSD) that completely disables setting socket timeouts, avoiding a syscall busy loop.
For an internal use case at DigitalOcean, we don't need the timeout capabilities of this package. With timeouts, system calls are performed repeatedly to keep checking the socket for readiness.
This implements a new configuration option (on Linux only for now, but the same could be ported to BSD) that completely disables setting socket timeouts, avoiding a syscall busy loop.