Nginx-0.8.18

Changes with nginx 0.8.18 06 Oct
2009

*) Feature: the "read_ahead" directive.

*) Feature: now several "perl_modules" directive may be used.

*) Feature: the "limit_req_log_level" and "limit_conn_log_level"
   directives.

*) Bugfix: now "limit_req" directive conforms to the leaky bucket
   algorithm.
   Thanks to Maxim D..

*) Bugfix: nginx did not work on Linux/sparc.
   Thanks to Marcus Ramberg.

*) Bugfix: nginx sent '\0' in a "Location" response header line on
   MKCOL request.
   Thanks to Xie Zhenye.

*) Bugfix: zero status code was logged instead of 499 status code; 

the
bug had appeared in 0.8.11.

*) Bugfix: socket leak; the bug had appeared in 0.8.11.

is SSLv2 disabled by default from this version?

On Tue, Oct 06, 2009 at 03:44:32PM +0200, Tomasz P. wrote:

is SSLv2 disabled by default from this version?

No, I forgot about this.

is SSLv2 disabled by default from this version?

No, I forgot about this
no problem, just being curious

2009/10/6 Jeff W. [email protected]:

Changes with nginx 0.8.18

On its way to my devel PPA!

Jeff, any chance of extending your PPA builds to cover Jaunty and
Karmic?

  • Matt

Changes with nginx 0.8.18

On its way to my devel PPA!

https://launchpad.net/~jdub/+archive/devel

Thanks Igor,

  • Jeff

Changes with nginx 0.8.18

On its way to my devel PPA!

Jeff, any chance of extending your PPA builds to cover Jaunty and Karmic?

While these 8.04 packages install and run without issues on later
versions
(I test and use them on Hardy and Karmic) I don’t think there’s any
reason
to bother. More work, no benefit. :slight_smile:

  • Jeff

2009/10/6 Jeff W. [email protected]:

to bother. More work, no benefit. :slight_smile:
Erm … I never thought to try that. I just assumed the dependencies
would be well out of sync by now.

Jeff, thanks for the reply and for making me look stupid in public ;-).

/me scuttles off to install the new nginx

  • Matt

Jeff, any chance of extending your PPA builds to cover Jaunty and
Karmic?

While these 8.04 packages install and run without issues on later
versions (I test and use them on Hardy and Karmic) I don’t think there’s
any reason to bother. More work, no benefit. :slight_smile:

Erm … I never thought to try that. I just assumed the dependencies would
be well out of sync by now.

All of the libraries nginx depends on are still binary compatible and
under
active maintenance, so: (a) the packages have the same name, and (b)
they
are still in the repository, so… for now at least, there’s no problem.
:slight_smile:

Jeff, thanks for the reply and for making me look stupid in public ;-).

I hope not!

  • Jeff

Igor S. wrote:

Changes with nginx 0.8.18 06 Oct
2009

*) Feature: the "read_ahead" directive.

*) Feature: now several "perl_modules" directive may be used.

*) Feature: the "limit_req_log_level" and "limit_conn_log_level"
   directives.

*) Bugfix: now "limit_req" directive conforms to the leaky bucket
   algorithm.
   Thanks to Maxim D..

*) Bugfix: nginx did not work on Linux/sparc.
   Thanks to Marcus Ramberg.

*) Bugfix: nginx sent '\0' in a "Location" response header line on
   MKCOL request.
   Thanks to Xie Zhenye.

*) Bugfix: zero status code was logged instead of 499 status code; 

the
bug had appeared in 0.8.11.

*) Bugfix: socket leak; the bug had appeared in 0.8.11.

Thank a lot Igor

Could you explain new added features in this version in more details?

  • “read_ahead” directive.
  • several “perl_modules” directive may be used.
  • the “limit_req_log_level” and “limit_conn_log_level” directives.

Thanks again

Hoang

On 7 okt 2009, at 11.01, Igor S. wrote:

*) Bugfix: nginx sent ‘\0’ in a “Location” response header line

Thank a lot Igor

Could you explain new added features in this version in more details?

  • “read_ahead” directive.

On FreeBSD 7.2 with the patch
http://sysoev.ru/html/freebsd/patch.readahead.txt

This is 404, I’m guessing you mean
http://sysoev.ru/freebsd/patch.readahead.txt
?

On Wed, Oct 07, 2009 at 11:22:12AM +0200, Johan Bergström wrote:

*) Feature: the “read_ahead” directive.
*) Bugfix: nginx did not work on Linux/sparc.
bug had appeared in 0.8.11.
http://sysoev.ru/html/freebsd/patch.readahead.txt

This is 404, I’m guessing you mean http://sysoev.ru/freebsd/patch.readahead.txt
?

Yes, you are right.

A note:
fcntl(O_READAHEAD, size) had been added in FreeBSD 9-CURRENT on Sep 28.
After one month it will be merged in 8-STABLE. For 7-STABLE you may use
the patch. Also you need to increase “sysctl vfs.read_max=32” (512k).

On Wed, Oct 07, 2009 at 07:45:45AM +0200, Hoang Hoang wrote:

sendfile on;
tcp_nopush on;
aio sendfile;
read_ahead 512k;

On Linux:

sendfile on;
read_ahead 1;

On Linux nginx calls
posix_fadvise(0, 0, 0, POSIX_FADV_SEQUENTIAL);
and the read_ahead value is ignored.

  • several “perl_modules” directive may be used.

perl_modules /path1/to/modules;
perl_modules /path2/to/modules;
perl_modules /path3/to/modules;

  • the “limit_req_log_level” and “limit_conn_log_level” directives.

limit_req_log_level [info|notice|warn|error];
limit_conn_log_level [info|notice|warn|error];

The directives set log level for messages about limiting requests and
connections.