]> git.kaiwu.me - nginx.git/commit
Mail: smtp pipelining support.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 30 Sep 2013 18:09:57 +0000 (22:09 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 30 Sep 2013 18:09:57 +0000 (22:09 +0400)
commit4f6f653f482abc3b963727ea5f2c5d708d8fd605
treef60612bbd54711ac76addbea535e8647ca119775
parentf86169ae7bbb30d0955be03a0adad1d1cd73a046
Mail: smtp pipelining support.

Basically, this does the following two changes (and corresponding
modifications of related code):

1. Does not reset session buffer unless it's reached it's end, and always
wait for LF to terminate command (even if we detected invalid command).

2. Record command name to make it available for handlers (since now we
can't assume that command starts from s->buffer->start).
src/mail/ngx_mail.h
src/mail/ngx_mail_handler.c
src/mail/ngx_mail_parse.c
src/mail/ngx_mail_proxy_module.c
src/mail/ngx_mail_smtp_handler.c