comparison auto/unix @ 485:4ebe09b07e30 release-0.1.17

nginx-0.1.17-RELEASE import *) 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; the bug had appeared in 0.1.14. *) Bugfix: the system error message was not logged on Linux.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 03 Feb 2005 19:33:37 +0000
parents c52408583801
children 975f62e77f02
comparison
equal deleted inserted replaced
484:60452f1c0c62 485:4ebe09b07e30
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"