Mercurial > hg > nginx-mail
comparison src/os/unix/ngx_posix_init.c @ 585:2b9e388c61f1 NGINX_0_8_23
nginx 0.8.23
*) Security: now SSL/TLS renegotiation is disabled.
Thanks to Maxim Dounin.
*) Bugfix: listen unix domain socket did not inherit while online
upgrade.
*) Bugfix: the "unix:" parameter of the "set_real_ip_from" directive
did not without yet another directive with any IP address.
*) Bugfix: segmentation fault and infinite looping in resolver.
*) Bugfix: in resolver.
Thanks to Artem Bokhan.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 11 Nov 2009 00:00:00 +0300 |
parents | ce4f9ff90bfa |
children | 428c6e58046a |
comparison
equal
deleted
inserted
replaced
584:8da5668048b4 | 585:2b9e388c61f1 |
---|---|
41 | 41 |
42 ngx_init_setproctitle(log); | 42 ngx_init_setproctitle(log); |
43 | 43 |
44 ngx_pagesize = getpagesize(); | 44 ngx_pagesize = getpagesize(); |
45 ngx_cacheline_size = NGX_CPU_CACHE_LINE; | 45 ngx_cacheline_size = NGX_CPU_CACHE_LINE; |
46 | |
47 n = ngx_pagesize; | |
48 | 46 |
49 for (n = ngx_pagesize; n >>= 1; ngx_pagesize_shift++) { /* void */ } | 47 for (n = ngx_pagesize; n >>= 1; ngx_pagesize_shift++) { /* void */ } |
50 | 48 |
51 if (ngx_ncpu == 0) { | 49 if (ngx_ncpu == 0) { |
52 ngx_ncpu = 1; | 50 ngx_ncpu = 1; |