Mercurial > hg > nginx-vendor-current
comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 146:36af50a5582d NGINX_0_3_20
nginx 0.3.20
*) Bugfix: in SSI handling.
*) Bugfix: the ngx_http_memcached_module did not support the keys in
the "/usr?args" form.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 11 Jan 2006 00:00:00 +0300 |
parents | 3656228c0b56 |
children | 30862655219e |
comparison
equal
deleted
inserted
replaced
145:85a84f8da62b | 146:36af50a5582d |
---|---|
26 * So we do not use TCP_NOPUSH on FreeBSD prior to 4.5, although it can be used | 26 * So we do not use TCP_NOPUSH on FreeBSD prior to 4.5, although it can be used |
27 * for non-keepalive HTTP connections. | 27 * for non-keepalive HTTP connections. |
28 */ | 28 */ |
29 | 29 |
30 | 30 |
31 #define NGX_HEADERS 8 | 31 #if (IOV_MAX > 64) |
32 #define NGX_TRAILERS 8 | 32 #define NGX_HEADERS 64 |
33 #define NGX_TRAILERS 64 | |
34 #else | |
35 #define NGX_HEADERS IOV_MAX | |
36 #define NGX_TRAILERS IOV_MAX | |
37 #endif | |
33 | 38 |
34 | 39 |
35 ngx_chain_t * | 40 ngx_chain_t * |
36 ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) | 41 ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) |
37 { | 42 { |