Nginx-0.8.29

Changes with nginx 0.8.29 30 Nov
2009

*) Change: now the "009" status code is written to an access log for
   proxied HTTP/0.9 responses.

*) Feature: the "addition_types", "charset_types", "gzip_types",
   "ssi_types", "sub_filter_types", and "xslt_types" directives 

support
an “*” parameter.

*) Feature: GCC 4.1+ built-in atomic operations usage.
   Thanks to W-Mark K..

*) Feature: the --with-libatomic[=DIR] option in the configure.
   Thanks to W-Mark K..

*) Bugfix: listen unix domain socket had limited access rights.

*) Bugfix: cached HTTP/0.9 responses were handled incorrectly.

*) Bugfix: regular expression named captures given by "?P<...>" did 

not
work in a “server_name” directive.
Thanks to Maxim D…


Igor S.
http://sysoev.ru/en/

-------- Original-Nachricht --------

Datum: Mon, 30 Nov 2009 16:44:06 +0300
Von: Igor S. [email protected]
An: [email protected]
Betreff: nginx-0.8.29

*) Feature: GCC 4.1+ built-in atomic operations usage.
   Thanks to W-Mark K..

*) Feature: the --with-libatomic[=DIR] option in the configure.
   Thanks to W-Mark K..

What is this libatomic? Is it this here →
http://www.hpl.hp.com/research/linux/atomic_ops/


Igor S.
Igor Sysoev


nginx mailing list
[email protected]
nginx Info Page


Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen
Debütalbum “One Moment in Time”. Aktuelle Nachrichten aus Politik, Wirtschaft & Panorama | GMX

On Mon, Nov 30, 2009 at 02:55:00PM +0100, Steve wrote:

*) Feature: the --with-libatomic[=DIR] option in the configure.
   Thanks to W-Mark K..

What is this libatomic? Is it this here → http://www.hpl.hp.com/research/linux/atomic_ops/

Yes.


Igor S.
http://sysoev.ru/en/

On Mon, Nov 30, 2009 at 03:51:40PM +0100, Steve wrote:

   Thanks to W-Mark K..

What is this libatomic? Is it this here →
http://www.hpl.hp.com/research/linux/atomic_ops/

Yes.

Is that needed if one is using GCC >= 4.1? Or is this already used (in some way) by this here:

*) Feature: GCC 4.1+ built-in atomic operations usage.
   Thanks to W-Mark K..

If GCC supports atomic operations, then nginx uses them. Otherwise, it
uses
own atomic operations for i386, amd64, sparc32/64, ppc32/64.

You may force to use libatomic, if you do not like GCC atomic
operations.


Igor S.
http://sysoev.ru/en/

-------- Original-Nachricht --------

Datum: Mon, 30 Nov 2009 17:32:41 +0300
Von: Igor S. [email protected]
An: [email protected]
Betreff: Re: nginx-0.8.29

On Mon, Nov 30, 2009 at 02:55:00PM +0100, Steve wrote:

*) Feature: the --with-libatomic[=DIR] option in the configure.
   Thanks to W-Mark K..

What is this libatomic? Is it this here →
http://www.hpl.hp.com/research/linux/atomic_ops/

Yes.

Is that needed if one is using GCC >= 4.1? Or is this already used (in
some way) by this here:

*) Feature: GCC 4.1+ built-in atomic operations usage.
   Thanks to W-Mark K..


Igor S.
Igor Sysoev

Steve


nginx mailing list
[email protected]
nginx Info Page


Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen
Debütalbum “One Moment in Time”. Aktuelle Nachrichten aus Politik, Wirtschaft & Panorama | GMX

On Mon, Nov 30, 2009 at 04:00:08PM +0100, Steve wrote:

Okay. I understand. Is there any benefit using libatomic?

GCC built-ins are better at least for i386 and amd64.
libatomic is better for ARM:
http://nginx.org/pipermail/nginx/2009-September/015726.html


Igor S.
http://sysoev.ru/en/

-------- Original-Nachricht --------

Datum: Mon, 30 Nov 2009 17:55:40 +0300
Von: Igor S. [email protected]
An: [email protected]
Betreff: Re: nginx-0.8.29

some way) by this here:

*) Feature: GCC 4.1+ built-in atomic operations usage.
   Thanks to W-Mark K..

If GCC supports atomic operations, then nginx uses them. Otherwise, it
uses
own atomic operations for i386, amd64, sparc32/64, ppc32/64.

You may force to use libatomic, if you do not like GCC atomic operations.

Okay. I understand. Is there any benefit using libatomic?


Igor S.
Igor Sysoev


nginx mailing list
[email protected]
nginx Info Page


Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!

-------- Original-Nachricht --------

Datum: Mon, 30 Nov 2009 18:05:48 +0300
Von: Igor S. [email protected]
An: [email protected]
Betreff: Re: nginx-0.8.29

own atomic operations for i386, amd64, sparc32/64, ppc32/64.

You may force to use libatomic, if you do not like GCC atomic
operations.

Okay. I understand. Is there any benefit using libatomic?

GCC built-ins are better at least for i386 and amd64.
libatomic is better for ARM:
[Patch] nginx to use libatomic_ops

Thanks for explaining that to me.


Igor S.
Igor Sysoev


nginx mailing list
[email protected]
nginx Info Page


Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
3.5 -
sicherer, schneller und einfacher! Aktuelle Nachrichten aus Politik, Wirtschaft & Panorama | GMX

GCC built-ins are better at least for i386 and amd64.
libatomic is better for ARM:
[Patch] nginx to use libatomic_ops

Thanks for explaining that to me.

Oh, well, I can confirm “Linux 2.6 / arm” could be added to [1] - I’ve
ran it non-stop on several SheevaPlugs and one Sharp Zaurus (both
Gentoo [2]) w/o any other patches than the recently integrated.
BTW, same goes for php-fpm with the atomic ops.

And yes, Igor, I am still due the debug backtrace for the segfaults
w/o patches. Now, if you could point me to how to use gdb…


W-Mark K.

[1] http://nginx.org/ - Tested OS and platforms
[2] http://git.ossdl.de/?p=ossdl-overlay.git;a=summary - Gentoo overlay

-------- Original-Nachricht --------

Datum: Thu, 3 Dec 2009 23:25:55 +0100
Von: W-Mark K. [email protected]
An: nginx [email protected]
Betreff: Re: nginx-0.8.29

BTW, same goes for php-fpm with the atomic ops.

If you ever want a better Ebuild for nginx then let me know. Currently I
have a EAPI 2 Ebuild with support for nginx-upstream-fair,
ngx_http_auth_pam_module, nginx-upstream-jvm-route,
headers-more-nginx-module, nginx_http_push_module,
nginx-upload-progress-module and nginx_upload_module. And a much cleaner
and coherent build structure/dependency then the one you have in your
GIT (for example: you could build nginx just for mail functionality
and/or build a nginx for HTTPD, etc…).


nginx mailing list
[email protected]
nginx Info Page


Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!

Steve,
check the mailing list for info about this:
http://www.ruby-forum.com/topic/196083

There’s info on this at the home page you posted as well.

And yes, its snappier.

Cheers,
Johan