]> git.kaiwu.me - nginx.git/commit
Perl: disabled unrelated calls from variable handlers.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 12 Jul 2019 12:35:31 +0000 (15:35 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 12 Jul 2019 12:35:31 +0000 (15:35 +0300)
commitcae2e689083a04b2ddbb93bef5313b136080df65
tree01f68ae8abb66a0969a3702df9f84f04278614bc
parent19887831698e18149a45a8b9563e8fdcdaaea211
Perl: disabled unrelated calls from variable handlers.

Variable handlers are not expected to send anything to the client, cannot
sleep or read body, and are not expected to modify the request.  Added
appropriate protection to prevent accidental foot shooting.
src/http/modules/perl/nginx.xs
src/http/modules/perl/ngx_http_perl_module.c
src/http/modules/perl/ngx_http_perl_module.h