summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldapd/evbuffer_tls.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* It does not make sense to use ioctl(FIONREAD) with TLS as libtlsbluhm2017-07-041-16/+1
| | | | | | | has already read the buffer from kernel to user land. I have blindly copied this code from libevent for syslogd(8) TLS, remove it together with the bug. It caused hangs in ldapd(8). report, analysis, testing, OK Seiya Kawashima, Robert Klein, gsoares@
* Internally libssl uses 16k buffer, the libevent TLS wrapper usesbluhm2017-03-031-2/+2
| | | | | | 4k read buffer. This can hang ldapd(8). Setting both to 16k improves the situation. report Seiya Kawashima; feedback Robert Klein; test and OK gsoares@
* convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tlsjmatthew2016-05-011-0/+350
code from syslogd. ok beck@ benno@