Mercurial > hg > nginx-vendor-0-7
annotate src/os/unix/ngx_freebsd.h @ 232:d8f5c91a5c07 NGINX_0_4_1
nginx 0.4.1
*) Bugfix: the DragonFlyBSD compatibility.
Thanks to Pavel Nazarov.
*) Workaround: of bug in 64-bit Linux sendfile(), when file is more
than 2G.
*) Feature: now on Linux nginx uses O_NOATIME flag for static
requests.
Thanks to Yusuf Goolamabbas.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 14 Sep 2006 00:00:00 +0400 |
parents | dd6c66b5b0e2 |
children | 9121a0a91f47 |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_FREEBSD_H_INCLUDED_ | |
8 #define _NGX_FREEBSD_H_INCLUDED_ | |
9 | |
10 | |
11 ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, | |
42 | 12 off_t limit); |
0 | 13 |
222 | 14 extern int ngx_freebsd_kern_osreldate; |
15 extern int ngx_freebsd_hw_ncpu; | |
16 extern u_long ngx_freebsd_net_inet_tcp_sendspace; | |
17 extern int ngx_freebsd_kern_ipc_zero_copy_send; | |
0 | 18 |
19 extern ngx_uint_t ngx_freebsd_sendfile_nbytes_bug; | |
20 extern ngx_uint_t ngx_freebsd_use_tcp_nopush; | |
21 | |
22 | |
23 #endif /* _NGX_FREEBSD_H_INCLUDED_ */ |