mirror of https://github.com/openresty/openresty
patches: added the nginx-1.19.3-http_copy_pipelined_header.patch.
parent
771e9e678e
commit
be0b77eea6
@ -0,0 +1,12 @@
|
||||
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;
|
Loading…
Reference in New Issue