comparison src/http/modules/ngx_http_fastcgi_module.c @ 222:dd6c66b5b0e2 NGINX_0_3_58

nginx 0.3.58 *) Feature: the "error_page" directive supports the variables. *) Change: now the procfs interface instead of sysctl is used on Linux. *) Change: now the "Content-Type" header line is inherited from first response when the "X-Accel-Redirect" was used. *) Bugfix: the "error_page" directive did not redirect the 413 error. *) Bugfix: the trailing "?" did not remove old arguments if no new arguments were added to a rewritten URI. *) Bugfix: nginx could not run on 64-bit FreeBSD 7.0-CURRENT.
author Igor Sysoev <http://sysoev.ru>
date Mon, 14 Aug 2006 00:00:00 +0400
parents fa32d59d9a15
children 500a3242dff6
comparison
equal deleted inserted replaced
221:52ac9a089ea5 222:dd6c66b5b0e2
2054 ngx_http_fastcgi_lowat_check(ngx_conf_t *cf, void *post, void *data) 2054 ngx_http_fastcgi_lowat_check(ngx_conf_t *cf, void *post, void *data)
2055 { 2055 {
2056 #if (NGX_FREEBSD) 2056 #if (NGX_FREEBSD)
2057 ssize_t *np = data; 2057 ssize_t *np = data;
2058 2058
2059 if (*np >= ngx_freebsd_net_inet_tcp_sendspace) { 2059 if ((u_long) *np >= ngx_freebsd_net_inet_tcp_sendspace) {
2060 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 2060 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
2061 "\"fastcgi_send_lowat\" must be less than %d " 2061 "\"fastcgi_send_lowat\" must be less than %d "
2062 "(sysctl net.inet.tcp.sendspace)", 2062 "(sysctl net.inet.tcp.sendspace)",
2063 ngx_freebsd_net_inet_tcp_sendspace); 2063 ngx_freebsd_net_inet_tcp_sendspace);
2064 2064