comparison src/event/ngx_event.c @ 400:6ebbca3d5ed7 NGINX_0_7_12

nginx 0.7.12 *) Feature: the "server_name" directive supports empty name "". *) Feature: the "gzip_disable" directive supports special "msie6" mask. *) Bugfix: if the "max_fails=0" parameter was used in upstream with several servers, then a worker process exited on a SIGFPE signal. Thanks to Maxim Dounin. *) Bugfix: a request body was dropped while redirection via an "error_page" directive. *) Bugfix: a full response was returned for request method HEAD while redirection via an "error_page" directive. *) Bugfix: the $r->header_in() method did not return value of the "Host", "User-Agent", and "Connection" request header lines; the bug had appeared in 0.7.0.
author Igor Sysoev <http://sysoev.ru>
date Tue, 26 Aug 2008 00:00:00 +0400
parents 12defd37f578
children a8424ffa495c
comparison
equal deleted inserted replaced
399:59e324e4d6d3 400:6ebbca3d5ed7
1049 dc = ngx_array_push(&ecf->debug_connection); 1049 dc = ngx_array_push(&ecf->debug_connection);
1050 if (dc == NULL) { 1050 if (dc == NULL) {
1051 return NGX_CONF_ERROR; 1051 return NGX_CONF_ERROR;
1052 } 1052 }
1053 1053
1054 dc->addr = inet_addr((char *) value[1].data);
1055
1056 if (dc->addr != INADDR_NONE) {
1057 dc->mask = 0xffffffff;
1058 return NGX_CONF_OK;
1059 }
1060
1061 rc = ngx_ptocidr(&value[1], &in_cidr); 1054 rc = ngx_ptocidr(&value[1], &in_cidr);
1062 1055
1063 if (rc == NGX_DONE) { 1056 if (rc == NGX_DONE) {
1064 ngx_conf_log_error(NGX_LOG_WARN, cf, 0, 1057 ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
1065 "low address bits of %V are meaningless", &value[1]); 1058 "low address bits of %V are meaningless", &value[1]);