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.

Reported by: phk
Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D53081
Fixes: d15792780760ef94647af9b377b5f0a80e1826bc

(cherry picked from commit ead721935251ab5640ea736d4269814b7f9d2f64)

Details

Provenance
glebiusAuthored on Wed, Oct 15, 12:29 AM
Reviewer
asomers
Differential Revision
D53081: unix/stream: repair SO_SNDTIMEO
Parents
rGa091d6919c31: socket(2): refactor the manual page
Branches
Unknown
Tags
Unknown