Mercurial > hg > nginx
comparison src/http/ngx_http_request_body.c @ 1422:65dd057f71c7
cancel discarding body on EOF
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 27 Aug 2007 15:38:46 +0000 |
parents | fdea12ffb24a |
children | 7f2adaebb81f |
comparison
equal
deleted
inserted
replaced
1421:24778e7450af | 1422:65dd057f71c7 |
---|---|
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; |