﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
2456	Does not discard request body for unnormal close	fangjian.routon@…		"For the case where the origin is closed without reading the complete request, nginx does not normally discard the request body，call ngx_http_upstream_finalize_request with rc == 0

if (u->length == 0
    || (upstream->read->eof && u->length == -1))
{
    ngx_http_upstream_finalize_request(r, u, 0);
    return;
}

This may cause Nginx to send RST to downstream, causing downstream to finish the request abnormally。How to solve this problem elegantly? Thank you."	defect	closed	minor		documentation	1.18.x	invalid				"nginx version: nginx/1.18.0
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
built with OpenSSL 1.1.1r-dev xx XXX xxxx
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --with-http_ssl_module --with-http_v2_module --with-openssl=/home/fangjian/openssl"
