comparison src/mail/ngx_mail_auth_http_module.c @ 492:98143f74eb3d NGINX_0_7_58

nginx 0.7.58 *) Feature: a "listen" directive of the mail proxy module supports IPv6. *) Feature: the "image_filter_jpeg_quality" directive. *) Feature: the "client_body_in_single_buffer" directive. *) Feature: the $request_body variable. *) Bugfix: in ngx_http_autoindex_module in file name links having a ":" symbol in the name. *) Bugfix: "make upgrade" procedure did not work; the bug had appeared in 0.7.53. Thanks to Denis F. Latypoff.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 May 2009 00:00:00 +0400
parents 392c16f2d858
children f39b9e29530d
comparison
equal deleted inserted replaced
491:bb2281a3edb6 492:98143f74eb3d
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);