mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 22:57:43 -05:00
Tunnel: ignore request body
Previously, client request body was considered tunnel payload. Reported by NiubiKlasLi.
This commit is contained in:
1 parent
6ab37e105c
commit
f847651efa
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user