Mercurial > hg > nginx
comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 597:9262f520ce21 release-0.3.20
nginx-0.3.20-RELEASE import
*) Bugfix: in SSI handling.
*) Bugfix: the ngx_http_memcached_module did not support the keys in
the "/usr?args" form.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 11 Jan 2006 15:26:57 +0000 |
parents | 284cc140593b |
children | df449f4a8032 |
comparison
equal
deleted
inserted
replaced
596:0381e6d3aa70 | 597:9262f520ce21 |
---|---|
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 { |