diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-04-23 09:53:52 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-04-23 09:53:52 +0000 |
commit | ab4c0d36284d822cc8edd71d24520f806ce971e7 (patch) | |
tree | 1df18a761e008ad5717ce7dcbd860b372f19860d /src | |
parent | dce9672ca666a79fae9eba84b34ab266dfd96500 (diff) | |
download | nginx-ab4c0d36284d822cc8edd71d24520f806ce971e7.tar.gz nginx-ab4c0d36284d822cc8edd71d24520f806ce971e7.zip |
Zimbra IMAP server may return only 4 bytes: "+ \r\n"
Diffstat (limited to 'src')
-rw-r--r-- | src/mail/ngx_mail_proxy_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |