[Bug 212716] recv() with MSG_WAITALL doesn't always unblock on EOF

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Aug 2023 15:37:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212716

Greg Becker <greg@codeconcepts.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greg@codeconcepts.com

--- Comment #5 from Greg Becker <greg@codeconcepts.com> ---
I was able to reproduce this problem on a freshly installed 13.2-RELEASE with
no custom configuration:

FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git
llvmorg-14.0.5-0-gc12386ae247c)
VT(efifb): resolution 1024x768
CPU: Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz (2600.12-MHz K8-class CPU)


FWIW, the problem seems to go away if you add the following to
/boot/loader.conf.local and reboot:

net.inet.tcp.soreceive_stream="1"

I haven't done any further investigation...

-- 
You are receiving this mail because:
You are the assignee for the bug.