diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-06-15 22:33:41 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-06-15 22:33:41 +0400 |
commit | b145b067e296fd0c72d764e36db7a97102045b2c (patch) | |
tree | 1604c71100a9ea0dc0be0f848ed7ed9dc7108843 /src/os/unix/ngx_process_cycle.c | |
parent | e08f105e27475ea77f5ceb39fc76d9cb2ba078d1 (diff) |
nginx-0.1.36-RELEASE importrelease-0.1.36
*) 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.
Diffstat (limited to 'src/os/unix/ngx_process_cycle.c')
-rw-r--r-- | src/os/unix/ngx_process_cycle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c index 2a165bfa3..d3c92a1b6 100644 --- a/src/os/unix/ngx_process_cycle.c +++ b/src/os/unix/ngx_process_cycle.c @@ -839,7 +839,7 @@ ngx_worker_process_init(ngx_cycle_t *cycle, ngx_uint_t priority) #endif if (ccf->working_directory.len) { - if (chdir(ccf->working_directory.data) == -1) { + if (chdir((char *) ccf->working_directory.data) == -1) { ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, "chdir(\"%s\") failed", ccf->working_directory.data); /* fatal */ |