diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-05-18 12:20:22 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-05-18 12:20:22 +0000 |
| commit | 610cbd4223262a473e3513b1c6a6ff4f8c83a0d5 (patch) | |
| tree | bb2a240b9180127cc1612c685b6bcc2df4d3b3fa /src/mail/ngx_mail_auth_http_module.c | |
| parent | c985ee7a61ce0beb12890da46971a71babdbb215 (diff) | |
| download | nginx-610cbd4223262a473e3513b1c6a6ff4f8c83a0d5.tar.gz nginx-610cbd4223262a473e3513b1c6a6ff4f8c83a0d5.tar.bz2 | |
mail proxy listen IPv6 support
Diffstat (limited to 'src/mail/ngx_mail_auth_http_module.c')
| -rw-r--r-- | src/mail/ngx_mail_auth_http_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mail/ngx_mail_auth_http_module.c b/src/mail/ngx_mail_auth_http_module.c index d66b5ee67..f7ad3085b 100644 --- a/src/mail/ngx_mail_auth_http_module.c +++ b/src/mail/ngx_mail_auth_http_module.c @@ -771,6 +771,8 @@ ngx_mail_auth_http_process_headers(ngx_mail_session_t *s, return; } + /* AF_INET only */ + sin = ngx_pcalloc(s->connection->pool, sizeof(struct sockaddr_in)); if (sin == NULL) { ngx_destroy_pool(ctx->pool); |
