Tunnel: ignore request body

Previously, client request body was considered tunnel payload.

Reported by NiubiKlasLi.
This commit is contained in:
Roman Arutyunyan authored and Roman Arutyunyan committed 2026-07-15 18:37:17 +04:00
1 parent 6ab37e105c
commit f847651efa
1 file changed
+1 -1
+1 -1
View File
@@ -271,7 +271,7 @@ ngx_http_tunnel_eval(ngx_http_request_t *r, ngx_http_tunnel_loc_conf_t *tlcf)
static ngx_int_t
ngx_http_tunnel_create_request(ngx_http_request_t *r)
{
/* u->request_bufs = NULL */
r->upstream->request_bufs = NULL;
return NGX_OK;
}