commit | 4f6f653f482abc3b963727ea5f2c5d708d8fd605 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Mon Sep 30 22:09:57 2013 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Mon Sep 30 22:09:57 2013 +0400 |
tree | f60612bbd54711ac76addbea535e8647ca119775 | |
parent | f86169ae7bbb30d0955be03a0adad1d1cd73a046 [diff] |
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).