summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_procman.py
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2020-11-11 12:09:49 +0300
committerValentin Bartenev <vbart@nginx.com>2020-11-11 12:09:49 +0300
commitcb28b41311479424cdf3b217a2252518da34c23d (patch)
tree6bde24a4eb89d872f981e648ca0c7ff13bb7b66d /test/test_python_procman.py
parent896d8e8bfb3d8649db467d92e06c789b789d3feb (diff)
downloadunit-cb28b41311479424cdf3b217a2252518da34c23d.tar.gz
unit-cb28b41311479424cdf3b217a2252518da34c23d.tar.bz2
PHP: prevention of consuming unread request body on finalization.
The php_request_shutdown() function calls sapi_deactivate() that tries to read request body into a dummy buffer. In our case it's just waste of CPU cycles. This change is also required for the following implementation of the fastcgi_finish_request() function, where the request context can be cleared by the time of finalization.
Diffstat (limited to 'test/test_python_procman.py')
0 files changed, 0 insertions, 0 deletions