comparison src/os/unix/ngx_files.c @ 542:2b9e388c61f1 NGINX_0_8_23

nginx 0.8.23 *) Security: now SSL/TLS renegotiation is disabled. Thanks to Maxim Dounin. *) Bugfix: listen unix domain socket did not inherit while online upgrade. *) Bugfix: the "unix:" parameter of the "set_real_ip_from" directive did not without yet another directive with any IP address. *) Bugfix: segmentation fault and infinite looping in resolver. *) Bugfix: in resolver. Thanks to Artem Bokhan.
author Igor Sysoev <http://sysoev.ru>
date Wed, 11 Nov 2009 00:00:00 +0300
parents 0dc162a5f3e8
children e19e5f542878
comparison
equal deleted inserted replaced
541:8da5668048b4 542:2b9e388c61f1
4 */ 4 */
5 5
6 6
7 #include <ngx_config.h> 7 #include <ngx_config.h>
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9
10
11 #if (NGX_HAVE_FILE_AIO)
12
13 ngx_uint_t ngx_file_aio = 1;
14
15 #endif
9 16
10 17
11 ssize_t 18 ssize_t
12 ngx_read_file(ngx_file_t *file, u_char *buf, size_t size, off_t offset) 19 ngx_read_file(ngx_file_t *file, u_char *buf, size_t size, off_t offset)
13 { 20 {