aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-08-06 15:31:00 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-08-06 15:31:00 +0000
commitce6bcc0795d50874a44619ce23cc9ddd4295e88d (patch)
tree0c9840bd6d1a76c7ed36156ed0d0ae6928f021a8 /src
parent7ab4d9cb559353277af3e40b51c43505ae0aa626 (diff)
downloadnginx-ce6bcc0795d50874a44619ce23cc9ddd4295e88d.tar.gz
nginx-ce6bcc0795d50874a44619ce23cc9ddd4295e88d.zip
block reading for level events
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_request_body.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c
index e3094ddb4..fdb49c9fd 100644
--- a/src/http/ngx_http_request_body.c
+++ b/src/http/ngx_http_request_body.c
@@ -503,6 +503,7 @@ ngx_http_read_discarded_body(ngx_http_request_t *r)
do {
if (r->headers_in.content_length_n == 0) {
+ r->read_event_handler = ngx_http_block_reading;
return NGX_OK;
}