diff src/mail/ngx_mail_proxy_module.c @ 3505:c631ef8beaaa

Zimbra IMAP server may return only 4 bytes: "+ \r\n"
author Igor Sysoev <igor@sysoev.ru>
date Fri, 23 Apr 2010 09:53:52 +0000
parents f0d596e84634
children dd1570b6f237
line wrap: on
line diff
--- 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_se
 
     b->last += n;
 
-    if (b->last - b->pos < 5) {
+    if (b->last - b->pos < 4) {
         return NGX_AGAIN;
     }