haraka / Haraka

A fast, highly extensible, and event driven SMTP server
https://haraka.github.io
MIT License
5.02k stars 662 forks source link

Improve PIPELINING (and early_talker) #970

Closed smfreegard closed 8 years ago

smfreegard commented 9 years ago
 C: EHLO dbc.mtview.ca.us
 S: 250-innosoft.com
 S: 250 PIPELINING
 C: MAIL FROM:<mrose@dbc.mtview.ca.us>
 C: RCPT TO:<ned@innosoft.com>
 C: RCPT TO:<dan@innosoft.com>
 C: RCPT TO:<kvc@innosoft.com>
 C: DATA

Haraka will read each of these commands line-by-line and in turn it will respond to each individually. What it should do is buffer each response and flush them in response to DATA which is more efficient as we reduce the number of packets sent.

msimerson commented 9 years ago

+1

celesteking commented 9 years ago

+1 also see #538

smfreegard commented 9 years ago

@celesteking try https://github.com/baudehlo/Haraka/pull/983

celesteking commented 9 years ago

It works for me, thanks.