patches: added the nginx-1.19.3-http_copy_pipelined_header.patch.
This commit is contained in:
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;
|
|
@ -485,6 +485,13 @@ echo "$info_txt applying the reuseport_close_unused_fds patch for nginx"
|
||||||
patch -p1 < $root/patches/nginx-$main_ver-reuseport_close_unused_fds.patch || exit 1
|
patch -p1 < $root/patches/nginx-$main_ver-reuseport_close_unused_fds.patch || exit 1
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
answer=`$root/util/ver-ge "$main_ver" 1.19.3`
|
||||||
|
if [ "$answer" = "Y" ]; then
|
||||||
|
echo "$info_txt applying the http_copy_pipelined_header.patch patch to nginx"
|
||||||
|
patch -p1 < $root/patches/nginx-$main_ver-http_copy_pipelined_header.patch
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
|
||||||
cp $root/html/index.html docs/html/ || exit 1
|
cp $root/html/index.html docs/html/ || exit 1
|
||||||
cp $root/html/50x.html docs/html/ || exit 1
|
cp $root/html/50x.html docs/html/ || exit 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue