comparison src/http/ngx_http.h @ 602:c5122335e41d NGINX_0_8_53

nginx 0.8.53 *) Feature: now the "error_page" directive allows to change a status code in a redirect. *) Feature: the "gzip_disable" directive supports special "degradation" mask. *) Bugfix: a socket leak might occurred if file AIO was used. Thanks to Maxim Dounin. *) Bugfix: if the first server had no "listen" directive and there was no explicit default server, then a next server with a "listen" directive became the default server; the bug had appeared in 0.8.21.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 Oct 2010 00:00:00 +0400
parents 4d3e880ce86c
children
comparison
equal deleted inserted replaced
601:b2afd36d87f4 602:c5122335e41d
140 ngx_hash_t *types_hash, ngx_array_t **prev_keys, 140 ngx_hash_t *types_hash, ngx_array_t **prev_keys,
141 ngx_hash_t *prev_types_hash, ngx_str_t *default_types); 141 ngx_hash_t *prev_types_hash, ngx_str_t *default_types);
142 ngx_int_t ngx_http_set_default_types(ngx_conf_t *cf, ngx_array_t **types, 142 ngx_int_t ngx_http_set_default_types(ngx_conf_t *cf, ngx_array_t **types,
143 ngx_str_t *default_type); 143 ngx_str_t *default_type);
144 144
145 #if (NGX_HTTP_DEGRADATION)
146 ngx_uint_t ngx_http_degraded(ngx_http_request_t *);
147 #endif
148
145 149
146 extern ngx_module_t ngx_http_module; 150 extern ngx_module_t ngx_http_module;
147 151
148 extern ngx_str_t ngx_http_html_default_types[]; 152 extern ngx_str_t ngx_http_html_default_types[];
149 153