Klaus Demo nginx / fbd2c82
Mail: discard pipelined commands after SMTP STARTTLS. The bug had appeared in nginx 1.5.6 (04e43d03e153). Reported by Chris Boulton. Maxim Dounin 5 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
776776 ngx_str_null(&s->smtp_from);
777777 ngx_str_null(&s->smtp_to);
778778
779 s->buffer->pos = s->buffer->start;
780 s->buffer->last = s->buffer->start;
781
779782 c->read->handler = ngx_mail_starttls_handler;
780783 return NGX_OK;
781784 }