HomeFreeBSD

unix/stream: repair SO_SNDTIMEO

Description

unix/stream: repair SO_SNDTIMEO

The send operations are waiting on the peer's socket buffer, but we shall
use our timeout value. Provide a test for that.

Approved by: re (cperciva)
Reported by: phk
Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D53081
Fixes: d15792780760ef94647af9b377b5f0a80e1826bc

(cherry picked from commit ead721935251ab5640ea736d4269814b7f9d2f64)
(cherry picked from commit bbfaff26bf365126cb4d38fda99a2100a256d9bd)

Details

Provenance
glebiusAuthored on Oct 15 2025, 12:29 AM
cpercivaCommitted on Oct 17 2025, 5:58 PM
Reviewer
asomers
Differential Revision
D53081: unix/stream: repair SO_SNDTIMEO
Parents
rG8d2dcf925d33: vmimage.subr: Add missing directories to METALOG
Branches
Unknown
Tags
Unknown