Mercurial > hg > nginx
diff src/mail/ngx_mail_auth_http_module.c @ 2855:a96a8c916b0c
mail proxy listen IPv6 support
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 18 May 2009 12:20:22 +0000 |
parents | 2477b28eaccb |
children | c7d57b539248 |
line wrap: on
line diff
--- a/src/mail/ngx_mail_auth_http_module.c Mon May 18 12:12:06 2009 +0000 +++ b/src/mail/ngx_mail_auth_http_module.c Mon May 18 12:20:22 2009 +0000 @@ -771,6 +771,8 @@ return; } + /* AF_INET only */ + sin = ngx_pcalloc(s->connection->pool, sizeof(struct sockaddr_in)); if (sin == NULL) { ngx_destroy_pool(ctx->pool);