comparison src/mail/ngx_mail_auth_http_module.c @ 646:615b5ea36fc0 NGINX_1_1_7

nginx 1.1.7 *) Feature: support of several resolvers in the "resolver" directive. Thanks to Kirill A. Korinskiy. *) Bugfix: a segmentation fault occurred on start or while reconfiguration if the "ssl" directive was used at http level and there was no "ssl_certificate" defined. *) Bugfix: reduced memory consumption while proxying of big files if they were buffered to disk. *) Bugfix: a segmentation fault might occur in a worker process if "proxy_http_version 1.1" directive was used. *) Bugfix: in the "expires @time" directive.
author Igor Sysoev <http://sysoev.ru>
date Mon, 31 Oct 2011 00:00:00 +0400
parents 8246d8a2c2be
children d0f7a625f27c
comparison
equal deleted inserted replaced
645:e461dead01e9 646:615b5ea36fc0
781 } 781 }
782 782
783 sin->sin_family = AF_INET; 783 sin->sin_family = AF_INET;
784 784
785 port = ngx_atoi(ctx->port.data, ctx->port.len); 785 port = ngx_atoi(ctx->port.data, ctx->port.len);
786 if (port == NGX_ERROR || port < 1 || port > 65536) { 786 if (port == NGX_ERROR || port < 1 || port > 65535) {
787 ngx_log_error(NGX_LOG_ERR, s->connection->log, 0, 787 ngx_log_error(NGX_LOG_ERR, s->connection->log, 0,
788 "auth http server %V sent invalid server " 788 "auth http server %V sent invalid server "
789 "port:\"%V\"", 789 "port:\"%V\"",
790 ctx->peer.name, &ctx->port); 790 ctx->peer.name, &ctx->port);
791 ngx_destroy_pool(ctx->pool); 791 ngx_destroy_pool(ctx->pool);