diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_request_body.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index cafc55992..1d2acb35e 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c @@ -826,7 +826,7 @@ ngx_http_request_body_length_filter(ngx_http_request_t *r, ngx_chain_t *in) b->temporary = 1; b->tag = (ngx_buf_tag_t) &ngx_http_read_client_request_body; - b->start = cl->buf->start; + b->start = cl->buf->pos; b->pos = cl->buf->pos; b->last = cl->buf->last; b->end = cl->buf->end; @@ -933,7 +933,7 @@ ngx_http_request_body_chunked_filter(ngx_http_request_t *r, ngx_chain_t *in) b->temporary = 1; b->tag = (ngx_buf_tag_t) &ngx_http_read_client_request_body; - b->start = cl->buf->start; + b->start = cl->buf->pos; b->pos = cl->buf->pos; b->last = cl->buf->last; b->end = cl->buf->end; |