comparison src/http/ngx_http_request.h @ 4930:6f085bfcdb4d

Request body: chunked transfer encoding support.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 21 Nov 2012 01:08:11 +0000
parents 5b93a9ac60ed
children 7fa7e60a7f66
comparison
equal deleted inserted replaced
4929:5a44d638cd27 4930:6f085bfcdb4d
222 ngx_str_t server; 222 ngx_str_t server;
223 off_t content_length_n; 223 off_t content_length_n;
224 time_t keep_alive_n; 224 time_t keep_alive_n;
225 225
226 unsigned connection_type:2; 226 unsigned connection_type:2;
227 unsigned chunked:1;
227 unsigned msie:1; 228 unsigned msie:1;
228 unsigned msie6:1; 229 unsigned msie6:1;
229 unsigned opera:1; 230 unsigned opera:1;
230 unsigned gecko:1; 231 unsigned gecko:1;
231 unsigned chrome:1; 232 unsigned chrome:1;
274 typedef struct { 275 typedef struct {
275 ngx_temp_file_t *temp_file; 276 ngx_temp_file_t *temp_file;
276 ngx_chain_t *bufs; 277 ngx_chain_t *bufs;
277 ngx_buf_t *buf; 278 ngx_buf_t *buf;
278 off_t rest; 279 off_t rest;
279 ngx_chain_t *to_write; 280 ngx_chain_t *free;
281 ngx_chain_t *busy;
282 ngx_http_chunked_t *chunked;
280 ngx_http_client_body_handler_pt post_handler; 283 ngx_http_client_body_handler_pt post_handler;
281 } ngx_http_request_body_t; 284 } ngx_http_request_body_t;
282 285
283 286
284 typedef struct { 287 typedef struct {