]> git.kaiwu.me - nginx.git/commit
Upstream: disabled upgrading in subrequests.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 11 Oct 2017 14:38:21 +0000 (17:38 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 11 Oct 2017 14:38:21 +0000 (17:38 +0300)
commit80f2e8f656267251c7d053307b82a382f5bb7744
tree156af2530fe416258b7eb7bdb789e71ec0d6104b
parentf1be23bc8aed6c6e6bbba1320d85a8943550b253
Upstream: disabled upgrading in subrequests.

Upgrading an upstream connection is usually followed by reading from the client
which a subrequest is not allowed to do.  Moreover, accessing the header_in
request field while processing upgraded connection ends up with a null pointer
dereference since the header_in buffer is only created for the the main request.
src/http/ngx_http_upstream.c