comparison src/http/ngx_http_request_body.c @ 166:389d7ee9fa60

nginx-0.0.1-2003-10-30-11:51:06 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 30 Oct 2003 08:51:06 +0000
parents 84036764e215
children c42be4185301
comparison
equal deleted inserted replaced
165:894a01c6aea3 166:389d7ee9fa60
45 45
46 } else { 46 } else {
47 size = request_buffer_size; 47 size = request_buffer_size;
48 } 48 }
49 49
50 ngx_test_null(r->request_body_hunk, 50 ngx_test_null(r->request_body_hunk, ngx_create_temp_hunk(r->pool, size),
51 ngx_create_temp_hunk(r->pool, size, 0, 0),
52 NGX_HTTP_INTERNAL_SERVER_ERROR); 51 NGX_HTTP_INTERNAL_SERVER_ERROR);
53 52
54 r->connection->read->event_handler = 53 r->connection->read->event_handler =
55 ngx_http_read_client_request_body_handler; 54 ngx_http_read_client_request_body_handler;
56 55