annotate src/os/unix/ngx_darwin.h @ 602:c5122335e41d NGINX_0_8_53

nginx 0.8.53 *) Feature: now the "error_page" directive allows to change a status code in a redirect. *) Feature: the "gzip_disable" directive supports special "degradation" mask. *) Bugfix: a socket leak might occurred if file AIO was used. Thanks to Maxim Dounin. *) Bugfix: if the first server had no "listen" directive and there was no explicit default server, then a next server with a "listen" directive became the default server; the bug had appeared in 0.8.21.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 Oct 2010 00:00:00 +0400
parents 0b6053502c55
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
390
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 /*
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3 * Copyright (C) Igor Sysoev
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4 */
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 #ifndef _NGX_DARWIN_H_INCLUDED_
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 #define _NGX_DARWIN_H_INCLUDED_
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 ngx_chain_t *ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in,
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 off_t limit);
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14 extern int ngx_darwin_kern_osreldate;
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15 extern int ngx_darwin_hw_ncpu;
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16 extern u_long ngx_darwin_net_inet_tcp_sendspace;
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
17
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
18
0b6053502c55 nginx 0.7.7
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
19 #endif /* _NGX_DARWIN_H_INCLUDED_ */