Mercurial > hg > nginx
comparison src/http/ngx_http_request_body.c @ 164:84036764e215
nginx-0.0.1-2003-10-29-11:30:44 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 29 Oct 2003 08:30:44 +0000 |
parents | 96993d4d5067 |
children | 389d7ee9fa60 |
comparison
equal
deleted
inserted
replaced
163:fb61ba77beba | 164:84036764e215 |
---|---|
110 | 110 |
111 if (n == NGX_AGAIN) { | 111 if (n == NGX_AGAIN) { |
112 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 112 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
113 ngx_add_timer(rev, clcf->client_body_timeout); | 113 ngx_add_timer(rev, clcf->client_body_timeout); |
114 | 114 |
115 if (ngx_handle_read_event(rev) == NGX_ERROR) { | 115 if (ngx_handle_read_event(rev, 0) == NGX_ERROR) { |
116 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); | 116 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); |
117 } | 117 } |
118 | 118 |
119 return; | 119 return; |
120 } | 120 } |