Nginx-0.7.60

Changes with nginx 0.7.60 15 Jun
2009

*) Feature: the "updating" parameter in "proxy_cache_use_stale" and
   "fastcgi_cache_use_stale" directives.

*) Feature: the "keepalive_requests" directive.

*) Bugfix: in open_file_cache and proxy/fastcgi cache interaction on
   start up.

*) Bugfix: open_file_cache might cache open file descriptors too 

long.

*) Bugfix: the "If-Modified-Since", "If-Range", etc. client request
   header lines were passed to backend while caching if no
   "proxy_set_header" directive was used with any parameters.

*) Bugfix: the "Set-Cookie" and "P3P" response header lines were not
   hidden while caching if no 

“proxy_hide_header/fastcgi_hide_header”
directives were used with any parameters.

*) Bugfix: the ngx_http_image_filter_module did not support GIF87a
   format.
   Thanks to Denis Ilyinyh.

*) Bugfix: nginx could not be built modules on Solaris 10 and early;
   the bug had appeared in 0.7.56.

*) Bugfix: XLST filter did not work in subrequests.

*) Bugfix: in relative paths handling in nginx/Windows.

*) Bugfix: in proxy_store, fastcgi_store, proxy_cache, and
   fastcgi_cache in nginx/Windows.

2009/6/15 Igor S. [email protected]:

Changes with nginx 0.7.60 15 Jun 2009

Hi Igor,

I got the following error compiling nginx 0.7.60:

$> ./configure --with-http_stub_status_module --with-http_ssl_module
–without-select_module --without-http_ssi_module
–without-http_userid_module --without-http_autoindex_module
–without-http_geo_module --without-http_map_module
–without-http_referer_module --without-http_fastcgi_module
–without-http_memcached_module --without-http_limit_zone_module
–without-http_limit_req_module --without-http_empty_gif_module
–without-http_browser_module --without-http_upstream_ip_hash_module
–without-http-cache --without-mail_pop3_module
–without-mail_imap_module --without-mail_smtp_module

$> make

src/http/ngx_http_upstream.c: In function
‘ngx_http_upstream_hide_headers_hash’:
src/http/ngx_http_upstream.c:4089: error: ‘ngx_http_upstream_conf_t’
has no member named ‘cache’
src/http/ngx_http_upstream.c:4089: error: ‘ngx_http_upstream_conf_t’
has no member named ‘cache’
make[1]: *** [objs/src/http/ngx_http_upstream.o] Error 1

Any idea ?
Thanks in advance.

2009/6/15 andan andan [email protected]:

–without-http_userid_module --without-http_autoindex_module
$> make

src/http/ngx_http_upstream.c: In function ‘ngx_http_upstream_hide_headers_hash’:
src/http/ngx_http_upstream.c:4089: error: ‘ngx_http_upstream_conf_t’
has no member named ‘cache’
src/http/ngx_http_upstream.c:4089: error: ‘ngx_http_upstream_conf_t’
has no member named ‘cache’
make[1]: *** [objs/src/http/ngx_http_upstream.o] Error 1

Sorry,

RHEL5 X86_64
2.6.18-128.1.10.el5

On Mon, Jun 15, 2009 at 12:27:17PM +0200, andan andan wrote:

–without-http_userid_module --without-http_autoindex_module
$> make

src/http/ngx_http_upstream.c: In function ‘ngx_http_upstream_hide_headers_hash’:
src/http/ngx_http_upstream.c:4089: error: ‘ngx_http_upstream_conf_t’
has no member named ‘cache’
src/http/ngx_http_upstream.c:4089: error: ‘ngx_http_upstream_conf_t’
has no member named ‘cache’
make[1]: *** [objs/src/http/ngx_http_upstream.o] Error 1

Any idea ?
Thanks in advance.

This is because of --without-http-cache.
The attached patch fixes the bug.

Installing the latest stable Nginx 0.7.6 regardless of the Nginx 0.6.3
by mod_rails
defaults(http://www.railsgeek.com/2009/6/20/installing-the-latest-stable-nginx-0-7-6-regardless-of-the-nginx-0-6-3-by-mod_rails-default)

mkdir ~/temp && cd ~/temp
wget
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.gz
tar xzf ./pcre-7.9.tar.gz

wget http://sysoev.ru/nginx/nginx-0.7.60.tar.gz
tar xzvf ./nginx-0.7.60.tar.gz
cd ~/temp/nginx-0.7.60
./configure
–add-module=/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/passenger-2.2.3/ext/nginx
–with-pcre=~/temp/pcre-7.9 --prefix=/opt/nginx076
make
sudo make install
sudo cp /etc/init.d/nginx /etc/init.d/nginx076
sudo sed -i ‘s,/opt/nginx,/opt/nginx076,g’ /etc/init.d/nginx076
sudo /etc/init.d/nginx076 start

andan andan wrote:

2009/6/15 Igor S. [email protected]:

$> ./configure --with-http_stub_status_module --with-http_ssl_module

Any idea ?
Thanks in advance.

This is because of --without-http-cache.
The attached patch fixes the bug.

Works like a charm.

Thanks so much.

2009/6/15 Igor S. [email protected]:

$> ./configure --with-http_stub_status_module --with-http_ssl_module

Any idea ?
Thanks in advance.

This is because of --without-http-cache.
The attached patch fixes the bug.

Works like a charm.

Thanks so much.