summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-06-24 18:04:33 +0000
committerjsing <jsing@openbsd.org>2020-06-24 18:04:33 +0000
commit3b4c69449cc14d1f9a69a2a3a35f4e150696184d (patch)
treed4d39baabee70995be7b04a2156293846ee44ed0 /sys/dev/softraid.c
parentdon;t Xr non-base pages; (diff)
downloadwireguard-openbsd-3b4c69449cc14d1f9a69a2a3a35f4e150696184d.tar.xz
wireguard-openbsd-3b4c69449cc14d1f9a69a2a3a35f4e150696184d.zip
Make tls13_legacy_shutdown() match ssl3_shutdown() semantics.
When first called, queue and send a close notify, before returning 0 or 1 to indicate if a close notify has already been received from the peer. If called again only attempt to read a close notify if there is no pending application data and only read one record from the wire. In particular, this avoids continuing to read application data where the peer continues to send application data. Issue noted by naddy@ with ftp(1). ok jca@ tb@
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions