comparison 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
comparison
equal deleted inserted replaced
2854:d788477f5a67 2855:a96a8c916b0c
768 if (peer == NULL) { 768 if (peer == NULL) {
769 ngx_destroy_pool(ctx->pool); 769 ngx_destroy_pool(ctx->pool);
770 ngx_mail_session_internal_server_error(s); 770 ngx_mail_session_internal_server_error(s);
771 return; 771 return;
772 } 772 }
773
774 /* AF_INET only */
773 775
774 sin = ngx_pcalloc(s->connection->pool, sizeof(struct sockaddr_in)); 776 sin = ngx_pcalloc(s->connection->pool, sizeof(struct sockaddr_in));
775 if (sin == NULL) { 777 if (sin == NULL) {
776 ngx_destroy_pool(ctx->pool); 778 ngx_destroy_pool(ctx->pool);
777 ngx_mail_session_internal_server_error(s); 779 ngx_mail_session_internal_server_error(s);