Nginx-0.6.27

Changes with nginx 0.6.27 12 Mar
2008

*) Change: now by default the rtsig method is not built on
   Linux 2.6.18+.

*) Change: now a request method is not changed while redirection to 

a
named location via an “error_page” directive.

*) Feature: the "resolver" and "resolver_timeout" directives in SMTP
   proxy.

*) Feature: the "post_action" directive supports named locations.

*) Bugfix: a segmentation fault occurred in worker process, if a
   request was redirected from proxy, FastCGI, or memcached location 

to
static named locations.

*) Bugfix: browsers did not repeat SSL handshake if there is no 

valid
client certificate in first handshake.
Thanks to Alexander V. Inyukhin.

*) Bugfix: if response code 495-497 was redirected via an 

“error_page”
directive without code change, then nginx tried to allocate too
many
memory.

*) Bugfix: memory leak in long-lived non buffered connections.

*) Bugfix: memory leak in resolver.

*) Bugfix: a segmentation fault occurred in worker process, if a
   request was redirected from proxy, FastCGI, or memcached location 

to
static named locations.

*) Bugfix: in the $proxy_host and $proxy_port variables caching.
   Thanks to Sergey B..

*) Bugfix: a "proxy_pass" directive with variables used incorrectly 

the
same port as in another “proxy_pass” directive with the same host
name and without variables.
Thanks to Sergey B…

*) Bugfix: an alert "sendmsg() failed (9: Bad file descriptor)" on 

some
64-bit platforms while reconfiguration.

*) Bugfix: a segmentation fault occurred in worker process, if empty
   stub block was used second time in SSI.

*) Bugfix: in copying URI part contained escaped symbols into 

arguments.

Igor S. wrote:

Changes with nginx 0.6.27 12 Mar
2008

*) Change: now by default the rtsig method is not built on
   Linux 2.6.18+.

*) Change: now a request method is not changed while redirection to 

a
named location via an “error_page” directive.

*) Feature: the "resolver" and "resolver_timeout" directives in SMTP
   proxy.

*) Feature: the "post_action" directive supports named locations.

*) Bugfix: a segmentation fault occurred in worker process, if a
   request was redirected from proxy, FastCGI, or memcached location 

small question would be: is there an upgrade procedure from 0.5 to 0.6 ?
what points are to be considered?

On Wed, Mar 12, 2008 at 02:53:22PM +0100, Stefanita rares Dumitrescu
wrote:

*) Feature: the "resolver" and "resolver_timeout" directives in SMTP
   proxy.

*) Feature: the "post_action" directive supports named locations.

*) Bugfix: a segmentation fault occurred in worker process, if a
   request was redirected from proxy, FastCGI, or memcached location 

small question would be: is there an upgrade procedure from 0.5 to 0.6 ?
what points are to be considered?

Many incompatibilies will be showed by

nginx -t

Other incompatibilies:

*) Change: now the paths specified in the "include",
   "auth_basic_user_file", "perl_modules", "ssl_certificate",
   "ssl_certificate_key", and "ssl_client_certificate" directives 

are
relative to directory of nginx configuration file nginx.conf, but
not to nginx prefix directory.

and since 0.6.25 $server_name is always the first name in server_name.

Compiling this on FC4 2.6.11-1.1369_FC4smp, I get the following error
in ngx_rtsig_module.c.
There isn’t any option for ‘–without-rtsig_module’ whilst configuring
nginx

make -f objs/Makefile
make[1]: Entering directory /var/local/src/nginx-0.6.27' gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-f unction -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/modules/ngx_rtsig_module.o \ src/event/modules/ngx_rtsig_module.c src/event/modules/ngx_rtsig_module.c: In function 'ngx_rtsig_init': src/event/modules/ngx_rtsig_module.c:161: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' src/event/modules/ngx_rtsig_module.c: In function 'ngx_rtsig_process_events': src/event/modules/ngx_rtsig_module.c:383: error: 'POLLIN' undeclared (first use in this function) src/event/modules/ngx_rtsig_module.c:383: error: (Each undeclared identifier is reported only once src/event/modules/ngx_rtsig_module.c:383: error: for each function it appears in .) src/event/modules/ngx_rtsig_module.c:383: error: 'POLLHUP' undeclared (first use in this function) src/event/modules/ngx_rtsig_module.c:383: error: 'POLLERR' undeclared (first use in this function) src/event/modules/ngx_rtsig_module.c:400: error: 'POLLOUT' undeclared (first use in this function)src/event/modules/ngx_rtsig_module.c: In function 'ngx_rtsig_process_overflow': src/event/modules/ngx_rtsig_module.c:493: error: 'POLLIN' undeclared (first use in this function) src/event/modules/ngx_rtsig_module.c:497: error: 'POLLOUT' undeclared (first use in this function) src/event/modules/ngx_rtsig_module.c:504: error: invalid use of undefined type ' struct pollfd' src/event/modules/ngx_rtsig_module.c:504: error: dereferencing pointer to incomp lete type src/event/modules/ngx_rtsig_module.c:505: error: invalid use of undefined type ' struct pollfd' src/event/modules/ngx_rtsig_module.c:505: error: dereferencing pointer to incomp lete type src/event/modules/ngx_rtsig_module.c:506: error: invalid use of undefined type ' struct pollfd' src/event/modules/ngx_rtsig_module.c:506: error: dereferencing pointer to incomp lete type cc1: warnings being treated as errors src/event/modules/ngx_rtsig_module.c:515: warning: implicit declaration of funct ion 'poll' src/event/modules/ngx_rtsig_module.c:541: error: invalid use of undefined type ' struct pollfd' src/event/modules/ngx_rtsig_module.c:541: error: dereferencing pointer to incomp lete type src/event/modules/ngx_rtsig_module.c:552: error: invalid use of undefined type ' struct pollfd' src/event/modules/ngx_rtsig_module.c:552: error: dereferencing pointer to incomp lete type src/event/modules/ngx_rtsig_module.c:553: error: 'POLLERR' undeclared (first use in this function) src/event/modules/ngx_rtsig_module.c:553: error: 'POLLHUP' undeclared (first use in this function) src/event/modules/ngx_rtsig_module.c:553: error: 'POLLNVAL' undeclared (first us e in this function) src/event/modules/ngx_rtsig_module.c:580: error: invalid use of undefined type ' struct pollfd' src/event/modules/ngx_rtsig_module.c:580: error: dereferencing pointer to incomp lete type make[1]: *** [objs/src/event/modules/ngx_rtsig_module.o] Error 1 make[1]: Leaving directory/var/local/src/nginx-0.6.27’