]> git.kaiwu.me - nginx.git/commit
Moved TRACE method rejection to a better place.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Jun 2021 15:01:00 +0000 (18:01 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Jun 2021 15:01:00 +0000 (18:01 +0300)
commitd9c1d1bae7ae2c83fb65ca00a47ad6c1199a691e
tree04a762258db0bba48f0be831aaa3c207c7512129
parent8b927107287094f018cc6f5addc543e79f88ec74
Moved TRACE method rejection to a better place.

Previously, TRACE requests were rejected before parsing Transfer-Encoding.
This is not important since keepalive is not enabled at this point anyway,
though rejecting such requests after properly parsing other headers is
less likely to cause issues in case of further code changes.
src/http/ngx_http_request.c