Klaus Demo nginx / 3658896
fix segfault when a request body fits in r->header_in and the body will be written to file Igor Sysoev 15 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
161161 if (rb->rest <= (off_t) (b->end - b->last)) {
162162
163163 /* the whole request body may be placed in r->header_in */
164
165 rb->to_write = rb->bufs;
164166
165167 r->read_event_handler = ngx_http_read_client_request_body_handler;
166168