Mercurial > hg > nginx-vendor-0-7
comparison src/http/modules/ngx_http_browser_module.c @ 340:10cc350ed8a1 NGINX_0_6_14
nginx 0.6.14
*) Change: now by default the "echo" SSI command uses entity encoding.
*) Feature: the "encoding" parameter in the "echo" SSI command.
*) Feature: the "access_log" directive may be used inside the
"limit_except" block.
*) Bugfix: if all upstream servers were failed, then all servers had
got weight the was equal one until servers became alive; bug
appeared in 0.6.6.
*) Bugfix: a segmentation fault occurred in worker process if
$date_local and $date_gmt were used outside the
ngx_http_ssi_filter_module.
*) Bugfix: a segmentation fault might occur in worker process if debug
log was enabled.
Thanks to Andrei Nigmatulin.
*) Bugfix: ngx_http_memcached_module did not set
$upstream_response_time.
Thanks to Maxim Dounin.
*) Bugfix: a worker process may got caught in an endless loop, if the
memcached was used.
*) Bugfix: nginx supported low case only "close" and "keep-alive"
values in the "Connection" request header line; bug appeared in
0.6.11.
*) Bugfix: sub_filter did not work with empty substitution.
*) Bugfix: in sub_filter parsing.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 15 Oct 2007 00:00:00 +0400 |
parents | 500a3242dff6 |
children | 76a79816b771 |
comparison
equal
deleted
inserted
replaced
339:d19550b67059 | 340:10cc350ed8a1 |
---|---|
395 ngx_http_browser_variable_t *var; | 395 ngx_http_browser_variable_t *var; |
396 ngx_http_variable_t *v; | 396 ngx_http_variable_t *v; |
397 | 397 |
398 for (var = ngx_http_browsers; var->name.len; var++) { | 398 for (var = ngx_http_browsers; var->name.len; var++) { |
399 | 399 |
400 v = ngx_http_add_variable(cf, &var->name, NGX_HTTP_VAR_CHANGABLE); | 400 v = ngx_http_add_variable(cf, &var->name, NGX_HTTP_VAR_CHANGEABLE); |
401 if (v == NULL) { | 401 if (v == NULL) { |
402 return NGX_ERROR; | 402 return NGX_ERROR; |
403 } | 403 } |
404 | 404 |
405 v->get_handler = var->handler; | 405 v->get_handler = var->handler; |
671 | 671 |
672 value = cf->args->elts; | 672 value = cf->args->elts; |
673 | 673 |
674 bcf->modern_browser_value->len = value[1].len; | 674 bcf->modern_browser_value->len = value[1].len; |
675 bcf->modern_browser_value->valid = 1; | 675 bcf->modern_browser_value->valid = 1; |
676 bcf->modern_browser_value->no_cachable = 0; | 676 bcf->modern_browser_value->no_cacheable = 0; |
677 bcf->modern_browser_value->not_found = 0; | 677 bcf->modern_browser_value->not_found = 0; |
678 bcf->modern_browser_value->data = value[1].data; | 678 bcf->modern_browser_value->data = value[1].data; |
679 | 679 |
680 return NGX_CONF_OK; | 680 return NGX_CONF_OK; |
681 } | 681 } |
696 | 696 |
697 value = cf->args->elts; | 697 value = cf->args->elts; |
698 | 698 |
699 bcf->ancient_browser_value->len = value[1].len; | 699 bcf->ancient_browser_value->len = value[1].len; |
700 bcf->ancient_browser_value->valid = 1; | 700 bcf->ancient_browser_value->valid = 1; |
701 bcf->ancient_browser_value->no_cachable = 0; | 701 bcf->ancient_browser_value->no_cacheable = 0; |
702 bcf->ancient_browser_value->not_found = 0; | 702 bcf->ancient_browser_value->not_found = 0; |
703 bcf->ancient_browser_value->data = value[1].data; | 703 bcf->ancient_browser_value->data = value[1].data; |
704 | 704 |
705 return NGX_CONF_OK; | 705 return NGX_CONF_OK; |
706 } | 706 } |