comparison src/os/unix/ngx_files.h @ 398:9d81578d04bb NGINX_0_7_11

nginx 0.7.11 *) Change: now ngx_http_charset_module does not work by default with text/css MIME type. *) Feature: now nginx returns the 405 status code for POST method requesting a static file only if the file exists. *) Feature: the "proxy_ssl_session_reuse" directive. *) Bugfix: a "proxy_pass" directive without URI part might use original request after the "X-Accel-Redirect" redirection was used; *) Bugfix: if a directory has search only rights and the first index file was absent, then nginx returned the 500 status code. *) Bugfix: in inclusive locations; the bugs had appeared in 0.7.1.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 Aug 2008 00:00:00 +0400
parents 34fb3a573548
children 79c5df00501e
comparison
equal deleted inserted replaced
397:47d42325b5fd 398:9d81578d04bb
56 ngx_uint_t access); 56 ngx_uint_t access);
57 #define ngx_open_tempfile_n "open()" 57 #define ngx_open_tempfile_n "open()"
58 58
59 59
60 ssize_t ngx_read_file(ngx_file_t *file, u_char *buf, size_t size, off_t offset); 60 ssize_t ngx_read_file(ngx_file_t *file, u_char *buf, size_t size, off_t offset);
61 #if (NGX_HAVE_PREAD)
62 #define ngx_read_file_n "pread()"
63 #else
61 #define ngx_read_file_n "read()" 64 #define ngx_read_file_n "read()"
65 #endif
62 66
63 ssize_t ngx_write_file(ngx_file_t *file, u_char *buf, size_t size, 67 ssize_t ngx_write_file(ngx_file_t *file, u_char *buf, size_t size,
64 off_t offset); 68 off_t offset);
65 69
66 ssize_t ngx_write_chain_to_file(ngx_file_t *file, ngx_chain_t *ce, 70 ssize_t ngx_write_chain_to_file(ngx_file_t *file, ngx_chain_t *ce,