diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-11-21 01:08:11 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-11-21 01:08:11 +0000 |
| commit | 5fc85439d0c6d55ff74ebba55d54d9c4e0bc6044 (patch) | |
| tree | 63edb1b192543b176f856a3886e08e65d4205ab0 /src/http/ngx_http_request.h | |
| parent | d60b8d10f0d39510008d8f5017ee2bf259a488db (diff) | |
| download | nginx-5fc85439d0c6d55ff74ebba55d54d9c4e0bc6044.tar.gz nginx-5fc85439d0c6d55ff74ebba55d54d9c4e0bc6044.tar.bz2 | |
Request body: chunked transfer encoding support.
Diffstat (limited to 'src/http/ngx_http_request.h')
| -rw-r--r-- | src/http/ngx_http_request.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index b6ff8983a..f234840c1 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -224,6 +224,7 @@ typedef struct { time_t keep_alive_n; unsigned connection_type:2; + unsigned chunked:1; unsigned msie:1; unsigned msie6:1; unsigned opera:1; @@ -276,7 +277,9 @@ typedef struct { ngx_chain_t *bufs; ngx_buf_t *buf; off_t rest; - ngx_chain_t *to_write; + ngx_chain_t *free; + ngx_chain_t *busy; + ngx_http_chunked_t *chunked; ngx_http_client_body_handler_pt post_handler; } ngx_http_request_body_t; |
