changeset 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 2132e8ea8fe4
children c3fa65192119
files src/mail/ngx_mail_proxy_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
     }