summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authortls <tls@NetBSD.org>2008-06-10 19:45:00 +0000
committertls <tls@NetBSD.org>2008-06-10 19:45:00 +0000
commitf5792c6ee8b950ea409b60b35c21f59c7e7b9cf0 (patch)
treed4a0d64567217cfcd757446dd29ccd7e6fd5e851 /sys/dev
parent2974b82da308675f6e9215318ac1e45814bfaa26 (diff)
Apply patch from Darryl Miles which adjusts SSL_shutdown's behavior for
non-blocking BIOs so that it is sane -- so that, in other words, -1 with a meaningful library error code (WANT_READ or WANT_WRITE) is returned when we would block for I/O. Without this change, you have to sleep or spin -- you can't know how to put the underlying socket in your select or poll set. Patch from http://marc.info/?l=openssl-dev&m=115154030723033&w=2 and rationale at http://marc.info/?l=openssl-dev&m=115153998821797&w=2 where sadly they were overlooked by the OpenSSL team for some time. It is hoped that now that we've brought this change to their attention they will integrate it into their sources and we can lose the local change in NetBSD.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions