diff src/mail/ngx_mail_auth_http_module.c @ 1285:0c10dc6a8e74

fix memory allocation for auth_http_header
author Igor Sysoev <igor@sysoev.ru>
date Tue, 10 Jul 2007 21:26:51 +0000
parents bde5e4134759
children 3e045031ee3b fa67e7914b70
line wrap: on
line diff
--- a/src/mail/ngx_mail_auth_http_module.c
+++ b/src/mail/ngx_mail_auth_http_module.c
@@ -1169,6 +1169,7 @@ ngx_mail_auth_http_create_request(ngx_ma
                 + sizeof(CRLF) - 1
           + sizeof("Client-IP: ") - 1 + s->connection->addr_text.len
                 + sizeof(CRLF) - 1
+          + ahcf->header.len
           + sizeof(CRLF) - 1;
 
     b = ngx_create_temp_buf(pool, len);