comparison src/os/unix/ngx_process_cycle.c @ 523:2019117e6b38 release-0.1.36

nginx-0.1.36-RELEASE import *) Change: if the request header has duplicate the "Host", "Connection", "Content-Length", or "Authorization" lines, then nginx now returns the 400 error. *) Change: the "post_accept_timeout" directive was canceled. *) Feature: the "default", "af=", "bl=", "deferred", and "bind" parameters of the "listen" directive. *) Feature: the FreeBSD accept filters support. *) Feature: the Linux TCP_DEFER_ACCEPT support. *) Bugfix: the ngx_http_autoindex_module did not support the file names in UTF-8. *) Bugfix: the new log file can be rotated by the -USR1 signal only if the reconfiguration by the -HUP signal was made twice.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 15 Jun 2005 18:33:41 +0000
parents 6f00349b98e5
children c3bd8cdabb8f
comparison
equal deleted inserted replaced
522:b59b006291f3 523:2019117e6b38
837 } 837 }
838 838
839 #endif 839 #endif
840 840
841 if (ccf->working_directory.len) { 841 if (ccf->working_directory.len) {
842 if (chdir(ccf->working_directory.data) == -1) { 842 if (chdir((char *) ccf->working_directory.data) == -1) {
843 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, 843 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno,
844 "chdir(\"%s\") failed", ccf->working_directory.data); 844 "chdir(\"%s\") failed", ccf->working_directory.data);
845 /* fatal */ 845 /* fatal */
846 exit(2); 846 exit(2);
847 } 847 }