diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-18 20:23:36 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-18 20:23:36 +0000 |
commit | 70d04b4454983db7f8ade89c13bbf7afd8c5c946 (patch) | |
tree | d75be19c4c8d99803499e99d4c00ac0170e449ac /libexec/ld.so/dl_printf.c | |
parent | 8ea800ac124a5b897090f73a4ecb57ffc0b0075d (diff) |
Complete rework of bufferevent event masking allowing for more
strictness:
- Drop clients attempting command pipelining; protects the daemon
from all kinds of abuse.
- Replace F_EVLOCKED flag with F_WRITEONLY which has cleaner sematics:
when up, session must not be destroyed nor read from, but may be
written to.
- Write callback becomes a central place for enabling EV_READ.
- Delay bufferevent creation until after ssl handshake is completed.
A bunch of session error stats were added to smtpctl's "show stats".
These could help spotting event masking errors in the future.
ok gilles@
Diffstat (limited to 'libexec/ld.so/dl_printf.c')
0 files changed, 0 insertions, 0 deletions