comparison src/mail/ngx_mail_auth_http_module.c @ 384:12defd37f578 NGINX_0_7_4

nginx 0.7.4 *) Feature: variables support in the "access_log" directive. *) Feature: the "open_log_file_cache" directive. *) Feature: the -g switch. *) Feature: the "Expect" request header line support. *) Bugfix: large SSI inclusions might be truncated.
author Igor Sysoev <http://sysoev.ru>
date Mon, 30 Jun 2008 00:00:00 +0400
parents 984bb0b1399b
children ad0a34a8efa6
comparison
equal deleted inserted replaced
383:6ee3ada01457 384:12defd37f578
526 default: /* NGX_MAIL_SMTP_PROTOCOL */ 526 default: /* NGX_MAIL_SMTP_PROTOCOL */
527 ctx->err = ctx->errmsg; 527 ctx->err = ctx->errmsg;
528 continue; 528 continue;
529 } 529 }
530 530
531 p = ngx_pcalloc(s->connection->pool, size); 531 p = ngx_pnalloc(s->connection->pool, size);
532 if (p == NULL) { 532 if (p == NULL) {
533 ngx_close_connection(ctx->peer.connection); 533 ngx_close_connection(ctx->peer.connection);
534 ngx_destroy_pool(ctx->pool); 534 ngx_destroy_pool(ctx->pool);
535 ngx_mail_session_internal_server_error(s); 535 ngx_mail_session_internal_server_error(s);
536 return; 536 return;