From ab4c0d36284d822cc8edd71d24520f806ce971e7 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 23 Apr 2010 09:53:52 +0000 Subject: Zimbra IMAP server may return only 4 bytes: "+ \r\n" --- src/mail/ngx_mail_proxy_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mail/ngx_mail_proxy_module.c') diff --git a/src/mail/ngx_mail_proxy_module.c b/src/mail/ngx_mail_proxy_module.c index 168977604..a3aa5d50d 100644 --- a/src/mail/ngx_mail_proxy_module.c +++ b/src/mail/ngx_mail_proxy_module.c @@ -726,7 +726,7 @@ ngx_mail_proxy_read_response(ngx_mail_session_t *s, ngx_uint_t state) b->last += n; - if (b->last - b->pos < 5) { + if (b->last - b->pos < 4) { return NGX_AGAIN; } -- cgit