On Mon, Oct 05, 2026 at 07:53:04AM -0600, Theo de Raadt wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   [email protected] 2026/10/05 07:53:04
> 
> Modified files:
>       usr.bin/tcpbench: tcpbench.c 
> 
> Log message:
> use SOCK_NONBLOCK instead of fcntl O_NONBLOCK; ok djm

My network tests fail with that commit.

tcpbench -S1000000 -t10 -n100 10.10.12.4
  elapsed_ms          bytes         mbps   bwidth 
tcpbench: connect: Operation now in progress

Now the connect(2) within the address family loop runs non-blocking.
There is no logic in the code to handle EINPROGRESS.

bluhm

Reply via email to