Mercurial > hg > nginx-vendor-current
comparison src/os/unix/ngx_process_cycle.c @ 658:5a4401b9551b NGINX_1_1_13
nginx 1.1.13
*) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the
"ssl_protocols" directive.
*) Bugfix: the "limit_req" directive parameters were not inherited
correctly; the bug had appeared in 1.1.12.
*) Bugfix: the "proxy_redirect" directive incorrectly processed
"Refresh" header if regular expression were used.
*) Bugfix: the "proxy_cache_use_stale" directive with "error" parameter
did not return answer from cache if there were no live upstreams.
*) Bugfix: the "worker_cpu_affinity" directive might not work.
*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
1.1.12.
*) Bugfix: in the ngx_http_mp4_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 16 Jan 2012 00:00:00 +0400 |
parents | eb208e0cf44d |
children | d0f7a625f27c |
comparison
equal
deleted
inserted
replaced
657:e1296af53cc0 | 658:5a4401b9551b |
---|---|
912 | 912 |
913 if (cpu_affinity) { | 913 if (cpu_affinity) { |
914 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, | 914 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, |
915 "sched_setaffinity(0x%08Xl)", cpu_affinity); | 915 "sched_setaffinity(0x%08Xl)", cpu_affinity); |
916 | 916 |
917 if (sched_setaffinity(0, 32, (cpu_set_t *) &cpu_affinity) == -1) { | 917 if (sched_setaffinity(0, sizeof(cpu_affinity), |
918 (cpu_set_t *) &cpu_affinity) | |
919 == -1) | |
920 { | |
918 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, | 921 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, |
919 "sched_setaffinity(0x%08Xl) failed", cpu_affinity); | 922 "sched_setaffinity(0x%08Xl) failed", cpu_affinity); |
920 } | 923 } |
921 } | 924 } |
922 | 925 |