comparison src/os/unix/ngx_readv_chain.c @ 18:6f8b0dc0f8dd NGINX_0_1_9

nginx 0.1.9 *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; bug appeared in 0.1.8.
author Igor Sysoev <http://sysoev.ru>
date Thu, 25 Nov 2004 00:00:00 +0300
parents 4b2dafa26fe2
children 72eb30262aac
comparison
equal deleted inserted replaced
17:9acb68bb0698 18:6f8b0dc0f8dd
7 #include <ngx_config.h> 7 #include <ngx_config.h>
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 #include <ngx_event.h> 9 #include <ngx_event.h>
10 10
11 11
12 #if (HAVE_KQUEUE) 12 #if (NGX_HAVE_KQUEUE)
13 13
14 ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain) 14 ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain)
15 { 15 {
16 u_char *prev; 16 u_char *prev;
17 ssize_t n, size; 17 ssize_t n, size;
134 } 134 }
135 135
136 return n; 136 return n;
137 } 137 }
138 138
139 #else /* ! NAVE_KQUEUE */ 139 #else /* ! NGX_HAVE_KQUEUE */
140 140
141 ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain) 141 ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain)
142 { 142 {
143 u_char *prev; 143 u_char *prev;
144 ssize_t n, size; 144 ssize_t n, size;
214 } 214 }
215 215
216 return n; 216 return n;
217 } 217 }
218 218
219 #endif /* NAVE_KQUEUE */ 219 #endif /* NGX_HAVE_KQUEUE */