Klaus Demo nginx / e042fc9
Mail: fixed ngx_mail_send() (ticket #519). Maxim Dounin 8 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
558558 n = c->send(c, s->out.data, s->out.len);
559559
560560 if (n > 0) {
561 s->out.data += n;
561562 s->out.len -= n;
563
564 if (s->out.len != 0) {
565 goto again;
566 }
562567
563568 if (wev->timer_set) {
564569 ngx_del_timer(wev);
582587 }
583588
584589 /* n == NGX_AGAIN */
590
591 again:
585592
586593 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module);
587594