Mercurial > hg > nginx-vendor-1-0
comparison src/http/ngx_http_core_module.h @ 558:2da4537168f8 NGINX_0_8_31
nginx 0.8.31
*) Feature: now the "error_page" directive may redirect the 301 and 302
responses.
*) Feature: the $geoip_city_continent_code, $geoip_latitude, and
$geoip_longitude variables.
Thanks to Arvind Sundararajan.
*) Feature: now the ngx_http_image_filter_module deletes always EXIF
and other application specific data if the data consume more than 5%
of a JPEG file.
*) Bugfix: nginx closed a connection if a cached response had an empty
body.
Thanks to Piotr Sikora.
*) Bugfix: nginx might not be built by gcc 4.x if the -O2 or higher
optimization option was used.
Thanks to Maxim Dounin and Denis F. Latypoff.
*) Bugfix: regular expressions in location were always tested in
case-sensitive mode; the bug had appeared in 0.8.25.
*) Bugfix: nginx cached a 304 response if there was the "If-None-Match"
header line in a proxied request.
Thanks to Tim Dettrick and David Kostal.
*) Bugfix: nginx/Windows tried to delete a temporary file twice if the
file should replace an already existent file.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 23 Dec 2009 00:00:00 +0300 |
parents | e19e5f542878 |
children | be4f34123024 |
comparison
equal
deleted
inserted
replaced
557:72104cd120ec | 558:2da4537168f8 |
---|---|
41 typedef struct ngx_http_location_tree_node_s ngx_http_location_tree_node_t; | 41 typedef struct ngx_http_location_tree_node_s ngx_http_location_tree_node_t; |
42 typedef struct ngx_http_core_loc_conf_s ngx_http_core_loc_conf_t; | 42 typedef struct ngx_http_core_loc_conf_s ngx_http_core_loc_conf_t; |
43 | 43 |
44 | 44 |
45 typedef struct { | 45 typedef struct { |
46 u_char sockaddr[NGX_SOCKADDRLEN]; | 46 union { |
47 struct sockaddr sockaddr; | |
48 struct sockaddr_in sockaddr_in; | |
49 #if (NGX_HAVE_INET6) | |
50 struct sockaddr_in6 sockaddr_in6; | |
51 #endif | |
52 #if (NGX_HAVE_UNIX_DOMAIN) | |
53 struct sockaddr_un sockaddr_un; | |
54 #endif | |
55 u_char sockaddr_data[NGX_SOCKADDRLEN]; | |
56 } u; | |
57 | |
47 socklen_t socklen; | 58 socklen_t socklen; |
48 | 59 |
49 unsigned set:1; | 60 unsigned set:1; |
50 unsigned default_server:1; | 61 unsigned default_server:1; |
51 unsigned bind:1; | 62 unsigned bind:1; |