Mercurial > hg > nginx-mail
comparison src/http/ngx_http_core_module.c @ 445:b4f69f2ef02c NGINX_0_7_20
nginx 0.7.20
*) Changes in the ngx_http_gzip_filter_module.
*) Feature: the ngx_http_limit_req_module.
*) Bugfix: worker processes might exit on a SIGBUS signal on sparc and
ppc platforms; the bug had appeared in 0.7.3.
Thanks to Maxim Dounin.
*) Bugfix: the "proxy_pass http://host/some:uri" directives did not
work; the bug had appeared in 0.7.12.
*) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
error.
*) Bugfix: the ngx_http_secure_link_module did not work inside
locations, whose names are less than 3 characters.
*) Bugfix: $server_addr variable might have no value.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 10 Nov 2008 00:00:00 +0300 |
parents | b246022ef454 |
children | 9da1d9d94d18 |
comparison
equal
deleted
inserted
replaced
443:5410f1e19796 | 445:b4f69f2ef02c |
---|---|
1629 ngx_connection_error(c, ngx_socket_errno, "getsockname() failed"); | 1629 ngx_connection_error(c, ngx_socket_errno, "getsockname() failed"); |
1630 return NGX_ERROR; | 1630 return NGX_ERROR; |
1631 } | 1631 } |
1632 | 1632 |
1633 r->in_addr = sin.sin_addr.s_addr; | 1633 r->in_addr = sin.sin_addr.s_addr; |
1634 | |
1635 } else { | |
1636 sin.sin_family = c->sockaddr->sa_family; | |
1637 sin.sin_addr.s_addr = r->in_addr; | |
1634 } | 1638 } |
1635 | 1639 |
1636 if (s == NULL) { | 1640 if (s == NULL) { |
1637 return NGX_OK; | 1641 return NGX_OK; |
1638 } | 1642 } |
3468 } | 3472 } |
3469 | 3473 |
3470 value = cf->args->elts; | 3474 value = cf->args->elts; |
3471 | 3475 |
3472 if (ngx_strcmp(value[1].data, "off") == 0) { | 3476 if (ngx_strcmp(value[1].data, "off") == 0) { |
3473 clcf->directio = NGX_MAX_OFF_T_VALUE; | 3477 clcf->directio = NGX_OPEN_FILE_DIRECTIO_OFF; |
3474 return NGX_CONF_OK; | 3478 return NGX_CONF_OK; |
3475 } | 3479 } |
3476 | 3480 |
3477 clcf->directio = ngx_parse_offset(&value[1]); | 3481 clcf->directio = ngx_parse_offset(&value[1]); |
3478 if (clcf->directio == (off_t) NGX_ERROR) { | 3482 if (clcf->directio == (off_t) NGX_ERROR) { |