Mercurial > hg > nginx-vendor-0-6
comparison src/http/ngx_http_request_body.c @ 10:46833bd150cb NGINX_0_1_5
nginx 0.1.5
*) Bugfix: on Solaris and Linux there may be too many "recvmsg()
returned not enough data" alerts.
*) Bugfix: there were the "writev() failed (22: Invalid argument)"
errors on Solaris in proxy mode without sendfile. On other platforms
that do not support sendfile at all the process got caught in an
endless loop.
*) Bugfix: segmentation fault on Solaris in proxy mode and using
sendfile.
*) Bugfix: segmentation fault on Solaris.
*) Bugfix: on-line upgrade did not work on Linux.
*) Bugfix: the ngx_http_autoindex_module module did not escape the
spaces, the quotes, and the percent signs in the directory listing.
*) Change: the decrease of the copy operations.
*) Feature: the userid_p3p directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 11 Nov 2004 00:00:00 +0300 |
parents | f0b350454894 |
children | 420dd3f9e703 |
comparison
equal
deleted
inserted
replaced
9:77eee314ddbd | 10:46833bd150cb |
---|---|
146 } | 146 } |
147 | 147 |
148 n = c->recv(c, r->request_body->buf->last, size); | 148 n = c->recv(c, r->request_body->buf->last, size); |
149 | 149 |
150 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, | 150 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, |
151 "http client request body recv " SIZE_T_FMT, n); | 151 "http client request body recv %z", n); |
152 | 152 |
153 if (n == NGX_AGAIN) { | 153 if (n == NGX_AGAIN) { |
154 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 154 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
155 ngx_add_timer(c->read, clcf->client_body_timeout); | 155 ngx_add_timer(c->read, clcf->client_body_timeout); |
156 | 156 |
182 break; | 182 break; |
183 } | 183 } |
184 } | 184 } |
185 | 185 |
186 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, | 186 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, |
187 "http client request body rest " SIZE_T_FMT, | 187 "http client request body rest %uz", |
188 r->request_body->rest); | 188 r->request_body->rest); |
189 | 189 |
190 if (r->request_body->rest) { | 190 if (r->request_body->rest) { |
191 return NGX_AGAIN; | 191 return NGX_AGAIN; |
192 } | 192 } |