summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/ioev.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* change "ssl" to "tls" in various identifiers.eric2019-06-121-84/+84
* Introduce more use of freezero(). Also, remove ptr conditionals beforederaadt2017-05-171-5/+3
* embed the struct iobuf instead of using a pointer.eric2016-12-031-37/+23
* hide internal io flags and rename IO_PAUSE_{IN,OUT} to IO_{IN,OUT}eric2016-11-301-1/+9
* make struct io opaque:eric2016-11-301-6/+41
* normalize iobuf before reading into it.eric2016-11-251-1/+3
* add an io_paused() function.eric2016-11-241-1/+7
* add an io_fileno() accessoreric2016-11-241-1/+7
* add an io_ssl() accessoreric2016-11-241-1/+7
* add an io_error() accessor to avoid dereferencing the io struct directly.eric2016-11-241-1/+7
* reset the io event when data is queued.eric2016-11-241-3/+15
* Normalize the io input buffer internally when reinstalling the io event, soeric2016-11-221-1/+4
* add dedicated functions to set fd and callback on a struct io.eric2016-11-201-9/+18
* Add io api functions for dealing with buffered data, as wrapper arounderic2016-11-171-7/+87
* remove IO_TLSVERIFIED which is not a io event, and inline necessary codeeric2016-11-171-2/+1
* pass the user pointer as parameter to the io callback instead of havingeric2016-11-161-3/+3
* No need to store the return value of fcntl(fd, F_SETFL, flags).millert2016-05-161-2/+2
* Nuke session_socket_blockmode() and session_socket_linger(). Usekrw2016-03-251-12/+7
* remove spaces after '!'jung2015-12-281-2/+2
* Wrap long lines.sunil2015-12-221-2/+3
* Use SSL_get_version() not SSL_get_cipher_version(); the former gives the TLSsthen2015-10-161-2/+2
* whitespacesgilles2015-10-141-2/+2
* Correctly fallback to PLAIN if opportunistics TLS fails during TLS handshake.eric2014-12-241-2/+2
* fix typos.sobrado2014-07-081-3/+3
* (void) cast snprintf() calls that cannot truncate (and would be harmlessgilles2014-04-191-5/+5
* (void) cast strlcat(), they can't truncategilles2014-04-191-19/+19
* do not call event_del() on non-initialized eventseric2014-02-041-3/+5
* bcopy -> memmoveeric2013-12-261-2/+2
* %i -> %d in format stringseric2013-10-261-8/+8
* call SSL_read() again if there is data pending in the SSL buffer.eric2013-06-031-1/+4
* sync with OpenSMTPD 5.3.2eric2013-05-241-11/+35
* - handle getaddrinfo() error as LKA_TEMPFAILgilles2013-02-051-3/+1
* Sync with our smtpd repo:gilles2013-01-261-14/+56
* knferic2012-11-231-6/+6
* Cleanups and improvements:eric2012-11-121-3/+3
* Handle the case where writev() fails with EAGAIN. In theory it cannoteric2012-10-251-2/+5
* io_connect() can take an optional address to bind() before connecting.eric2012-10-101-2/+5
* When printing ioev, do not segfault if there is no associated iobuf.eric2012-09-141-4/+22
* Add warnings on io errors to help diagnosis.eric2012-08-191-2/+10
* remove unused variablechl2012-05-251-4/+1
* Add missing header needed by PRI format stringchl2012-01-301-1/+2
* Import generic network IO code. The plan is to hide the boringeric2012-01-291-0/+811