HomeFreeBSD

sockets: repair wakeup of accept(2) by shutdown(2)

Description

sockets: repair wakeup of accept(2) by shutdown(2)

That was lost in transition from one-for-all soshutdown() to protocol
specific methods. Only protocols that listen(2) were affected. This is
not a documented or specified feature, but some software relies on it. At
least the FreeSWITCH telephony software uses this behavior on
PF_INET/SOCK_STREAM.

Fixes: 5bba2728079ed4da33f727dbc2b6ae1de02ba897

Details

Provenance
glebiusAuthored on Feb 15 2024, 6:48 PM
Parents
rG2c5ff9118c1e: rights.4: Remove sentence implying that rights are a mask
Branches
Unknown
Tags
Unknown