comparison src/core/ngx_connection.c @ 160:73e8476f9142 NGINX_0_3_27

nginx 0.3.27 *) Change: the "variables_hash_max_size" and "variables_hash_bucket_size" directives. *) Feature: the $body_bytes_sent variable can be used not only in the "log_format" directive. *) Feature: the $ssl_protocol and $ssl_cipher variables. *) Feature: the cache line size detection for widespread CPUs at start time. *) Feature: now the "accept_mutex" directive is supported using fcntl(2) on platforms different from i386, amd64, sparc64, and ppc. *) Feature: the "lock_file" directive and the --with-lock-path=PATH autoconfiguration directive. *) Bugfix: if the HTTPS protocol was used in the "proxy_pass" directive then the requests with the body was not transferred.
author Igor Sysoev <http://sysoev.ru>
date Wed, 08 Feb 2006 00:00:00 +0300
parents bb61aa162c6b
children fae16d0c5bf4
comparison
equal deleted inserted replaced
159:25c27e983933 160:73e8476f9142
493 if (ngx_event_flags & NGX_USE_IOCP_EVENT) { 493 if (ngx_event_flags & NGX_USE_IOCP_EVENT) {
494 return; 494 return;
495 } 495 }
496 496
497 ngx_accept_mutex_held = 0; 497 ngx_accept_mutex_held = 0;
498 ngx_accept_mutex = NULL; 498 ngx_use_accept_mutex = 0;
499 499
500 ls = cycle->listening.elts; 500 ls = cycle->listening.elts;
501 for (i = 0; i < cycle->listening.nelts; i++) { 501 for (i = 0; i < cycle->listening.nelts; i++) {
502 502
503 c = ls[i].connection; 503 c = ls[i].connection;
724 || err == NGX_ENOTCONN 724 || err == NGX_ENOTCONN
725 || err == NGX_ETIMEDOUT 725 || err == NGX_ETIMEDOUT
726 || err == NGX_ECONNREFUSED 726 || err == NGX_ECONNREFUSED
727 || err == NGX_EHOSTUNREACH) 727 || err == NGX_EHOSTUNREACH)
728 { 728 {
729
730 switch (c->log_error) { 729 switch (c->log_error) {
731 730
732 case NGX_ERROR_IGNORE_ECONNRESET: 731 case NGX_ERROR_IGNORE_ECONNRESET:
733 case NGX_ERROR_INFO: 732 case NGX_ERROR_INFO:
734 level = NGX_LOG_INFO; 733 level = NGX_LOG_INFO;