comparison src/http/modules/ngx_http_browser_module.c @ 328:26ff8d6b618d NGINX_0_5_34

nginx 0.5.34 *) Change: now the full request line instead of URI only is written to error_log. *) Feature: Cygwin compatibility. Thanks to Vladimir Kutakov. *) Feature: the "merge_slashes" directive. *) Feature: the "gzip_vary" directive. *) Feature: the "server_tokens" directive. *) Feature: the "access_log" directive may be used inside the "limit_except" block. *) Bugfix: if the $server_protocol was used in FastCGI parameters and a request line length was near to the "client_header_buffer_size" directive value, then nginx issued an alert "fastcgi: the request record is too big". *) Bugfix: if a plain text HTTP/0.9 version request was made to HTTPS server, then nginx returned usual response. *) Bugfix: URL double escaping in a redirect of the "msie_refresh" directive; bug appeared in 0.5.28. *) Bugfix: a segmentation fault might occur in worker process if subrequests were used. *) Bugfix: the big responses may be transferred truncated if SSL and gzip were used. *) Bugfix: compatibility with mget. *) Bugfix: nginx did not unescape URI in the "include" SSI command. *) Bugfix: the segmentation fault was occurred on start or while reconfiguration if variable was used in the "charset" or "source_charset" directives. *) Bugfix: nginx returned the 400 response on requests like "GET http://www.domain.com HTTP/1.0". Thanks to James Oakley. *) 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.
author Igor Sysoev <http://sysoev.ru>
date Thu, 13 Dec 2007 00:00:00 +0300
parents 500a3242dff6
children
comparison
equal deleted inserted replaced
327:cb962a94cd7b 328:26ff8d6b618d
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 }