Mercurial > hg > nginx-ranges
comparison src/core/nginx.c @ 544:f7ec98e3caeb NGINX_0_8_18
nginx 0.8.18
*) 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 Dounin.
*) 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.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 06 Oct 2009 00:00:00 +0400 |
parents | 207ae3ff0444 |
children | 0dc162a5f3e8 |
comparison
equal
deleted
inserted
replaced
543:7688992d2abb | 544:f7ec98e3caeb |
---|---|
278 | 278 |
279 ngx_memzero(&init_cycle, sizeof(ngx_cycle_t)); | 279 ngx_memzero(&init_cycle, sizeof(ngx_cycle_t)); |
280 init_cycle.log = log; | 280 init_cycle.log = log; |
281 ngx_cycle = &init_cycle; | 281 ngx_cycle = &init_cycle; |
282 | 282 |
283 /* dummy pagesize to create aligned pool */ | |
284 ngx_pagesize = 1024; | |
285 | |
283 init_cycle.pool = ngx_create_pool(1024, log); | 286 init_cycle.pool = ngx_create_pool(1024, log); |
284 if (init_cycle.pool == NULL) { | 287 if (init_cycle.pool == NULL) { |
285 return 1; | 288 return 1; |
286 } | 289 } |
287 | 290 |