comparison src/os/unix/ngx_recv.c @ 469:2ff194b74f1e release-0.1.9

nginx-0.1.9-RELEASE import *) 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; the bug had appeared in 0.1.8.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 25 Nov 2004 16:17:31 +0000
parents 295d97d70c69
children c9ad0d9c7d59
comparison
equal deleted inserted replaced
468:1a67596d0349 469:2ff194b74f1e
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_unix_recv(ngx_connection_t *c, u_char *buf, size_t size) 14 ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
15 { 15 {
16 ssize_t n; 16 ssize_t n;
17 ngx_err_t err; 17 ngx_err_t err;
113 } 113 }
114 114
115 return n; 115 return n;
116 } 116 }
117 117
118 #else /* ! NAVE_KQUEUE */ 118 #else /* ! NGX_HAVE_KQUEUE */
119 119
120 ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size) 120 ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
121 { 121 {
122 ssize_t n; 122 ssize_t n;
123 ngx_err_t err; 123 ngx_err_t err;
168 } 168 }
169 169
170 return n; 170 return n;
171 } 171 }
172 172
173 #endif /* NAVE_KQUEUE */ 173 #endif /* NGX_HAVE_KQUEUE */