comparison src/http/ngx_http_request_body.c @ 330:5e3b425174f6 NGINX_0_6_9

nginx 0.6.9 *) Bugfix: a worker process may got caught in an endless loop, if the HTTPS protocol was used; bug appeared in 0.6.7. *) Bugfix: if server listened on two addresses or ports and trailing wildcard was used, then nginx did not run. *) Bugfix: the "ip_hash" directive might incorrectly mark servers as down. *) Bugfix: nginx could not be built on amd64; bug appeared in 0.6.8.
author Igor Sysoev <http://sysoev.ru>
date Tue, 28 Aug 2007 00:00:00 +0400
parents 9fc4ab6673f9
children 3a91bfeffaba
comparison
equal deleted inserted replaced
329:f2f8dc3e7933 330:5e3b425174f6
569 569
570 if (n == NGX_AGAIN) { 570 if (n == NGX_AGAIN) {
571 return NGX_AGAIN; 571 return NGX_AGAIN;
572 } 572 }
573 573
574 if (n == 0) {
575 return NGX_OK;
576 }
577
574 r->headers_in.content_length_n -= n; 578 r->headers_in.content_length_n -= n;
575 579
576 } while (r->connection->read->ready); 580 } while (r->connection->read->ready);
577 581
578 return NGX_AGAIN; 582 return NGX_AGAIN;