comparison src/http/ngx_http_script.c @ 542:4c5d2c627a6c NGINX_0_8_17

nginx 0.8.17 *) Security: now "/../" are disabled in "Destination" request header line. *) Change: now $host variable value is always low case. *) Feature: the $ssl_session_id variable. *) Bugfix: socket leak; the bug had appeared in 0.8.11.
author Igor Sysoev <http://sysoev.ru>
date Mon, 28 Sep 2009 00:00:00 +0400
parents 4b0d7f0bf22b
children f7ec98e3caeb
comparison
equal deleted inserted replaced
541:b8ac674b0ec9 542:4c5d2c627a6c
1415 of.events = clcf->open_file_cache_events; 1415 of.events = clcf->open_file_cache_events;
1416 1416
1417 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) 1417 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool)
1418 != NGX_OK) 1418 != NGX_OK)
1419 { 1419 {
1420 if (of.err != NGX_ENOENT && of.err != NGX_ENOTDIR) { 1420 if (of.err != NGX_ENOENT
1421 && of.err != NGX_ENOTDIR
1422 && of.err != NGX_ENAMETOOLONG)
1423 {
1421 ngx_log_error(NGX_LOG_CRIT, r->connection->log, of.err, 1424 ngx_log_error(NGX_LOG_CRIT, r->connection->log, of.err,
1422 "%s \"%s\" failed", of.failed, value->data); 1425 "%s \"%s\" failed", of.failed, value->data);
1423 } 1426 }
1424 1427
1425 switch (code->op) { 1428 switch (code->op) {