mirror of https://github.com/openresty/openresty
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
400 B
C
13 lines
400 B
C
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c
|
|
index 71d7e9ab..fe075a87 100644
|
|
--- a/src/http/ngx_http_request_body.c
|
|
+++ b/src/http/ngx_http_request_body.c
|
|
@@ -472,6 +472,7 @@ ngx_http_copy_pipelined_header(ngx_http_request_t *r, ngx_buf_t *buf)
|
|
}
|
|
|
|
ngx_memcpy(b->last, buf->pos, n);
|
|
+ buf->last -= n;
|
|
|
|
b->last += n;
|
|
r->request_length -= n;
|