comparison src/os/unix/ngx_solaris_sendfilev_chain.c @ 5854:b63e829621ab

Generalized definitions of the number of preallocated iovec's. No functional changes.
author Valentin Bartenev <vbart@nginx.com>
date Wed, 13 Aug 2014 15:11:45 +0400
parents 150df089fe47
children 6bbad2e73245
comparison
equal deleted inserted replaced
5853:a6e83ac70af9 5854:b63e829621ab
33 off_t limit); 33 off_t limit);
34 34
35 #endif 35 #endif
36 36
37 37
38 #if (IOV_MAX > 64) 38 #define NGX_SENDFILEVECS NGX_IOVS_PREALLOCATE
39 #define NGX_SENDFILEVECS 64
40 #else
41 #define NGX_SENDFILEVECS IOV_MAX
42 #endif
43
44 39
45 40
46 ngx_chain_t * 41 ngx_chain_t *
47 ngx_solaris_sendfilev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) 42 ngx_solaris_sendfilev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
48 { 43 {