Mercurial > hg > nginx-vendor-0-8
comparison src/core/ngx_open_file_cache.c @ 530: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 | 13b908d5338a |
children | f7ec98e3caeb |
comparison
equal
deleted
inserted
replaced
529:b8ac674b0ec9 | 530:4c5d2c627a6c |
---|---|
523 | 523 |
524 } else { | 524 } else { |
525 of->fd = fd; | 525 of->fd = fd; |
526 | 526 |
527 if (of->directio <= ngx_file_size(&fi)) { | 527 if (of->directio <= ngx_file_size(&fi)) { |
528 if (ngx_directio_on(fd) == -1) { | 528 if (ngx_directio_on(fd) == NGX_FILE_ERROR) { |
529 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, | 529 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, |
530 ngx_directio_on_n " \"%s\" failed", name); | 530 ngx_directio_on_n " \"%s\" failed", name); |
531 | 531 |
532 } else { | 532 } else { |
533 of->is_directio = 1; | 533 of->is_directio = 1; |