comparison auto/unix @ 34:aab2ea7c0458 NGINX_0_1_17

nginx 0.1.17 *) Change: the ngx_http_rewrite_module was rewritten from the scratch. Now it is possible to redirect, to return the error codes, to check the variables and referrers. The directives can be used inside locations. The redirect directive was canceled. *) Feature: the ngx_http_geo_module. *) Feature: the proxy_set_x_var and fastcgi_set_var directives. *) Bugfix: the location configuration with "=" modifier may be used in another location. *) Bugfix: the correct content type was set only for requests that use small caps letters in extension. *) Bugfix: if the proxy_pass or fastcgi_pass directives were set in the location, and access was denied, and the error was redirected to a static page, then the segmentation fault occurred. *) Bugfix: if in a proxied "Location" header was a relative URL, then a host name and a slash were added to them; bug appeared in 0.1.14. *) Bugfix: the system error message was not logged on Linux.
author Igor Sysoev <http://sysoev.ru>
date Thu, 03 Feb 2005 00:00:00 +0300
parents 7ca9bdc82b3f
children 41ccba1aba45
comparison
equal deleted inserted replaced
33:27f09a550803 34:aab2ea7c0458
92 ngx_feature="strerror_r()" 92 ngx_feature="strerror_r()"
93 ngx_feature_name="NGX_HAVE_STRERROR_R" 93 ngx_feature_name="NGX_HAVE_STRERROR_R"
94 ngx_feature_run=yes 94 ngx_feature_run=yes
95 ngx_feature_incs="#include <string.h>" 95 ngx_feature_incs="#include <string.h>"
96 ngx_feature_libs= 96 ngx_feature_libs=
97 ngx_feature_test="char buf[32]; int n; n = strerror_r(1, buf, 32); 97 ngx_feature_test="char buf[1024]; long n; n = strerror_r(1, buf, 1024);
98 if (n > 32) return 1;" 98 if (n < 0 || n > 1024) return 1;"
99 . auto/feature 99 . auto/feature
100 100
101 101
102 # GNU style strerror_r() returns not length, but pointer 102 # GNU style strerror_r() returns not length, but pointer
103 103
104 ngx_feature="gnu style strerror_r()" 104 ngx_feature="gnu style strerror_r()"
105 ngx_feature_name="NGX_HAVE_GNU_STRERROR_R" 105 ngx_feature_name="NGX_HAVE_GNU_STRERROR_R"
106 ngx_feature_run=yes 106 ngx_feature_run=yes
107 ngx_feature_incs="#include <string.h>" 107 ngx_feature_incs="#include <string.h>"
108 ngx_feature_libs= 108 ngx_feature_libs=
109 ngx_feature_test="char buf[32]; int n; n = strerror_r(1, buf, 32); 109 ngx_feature_test="char buf[1024]; long n; n = strerror_r(1, buf, 1024);
110 if (n < 32) return 1;" 110 if (n >= 0 && n < 1024) return 1;"
111 . auto/feature 111 . auto/feature
112 112
113 113
114 ngx_feature="localtime_r()" 114 ngx_feature="localtime_r()"
115 ngx_feature_name="NGX_HAVE_LOCALTIME_R" 115 ngx_feature_name="NGX_HAVE_LOCALTIME_R"