aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/perl/ngx_http_perl_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2019-07-12 15:34:37 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2019-07-12 15:34:37 +0300
commit19887831698e18149a45a8b9563e8fdcdaaea211 (patch)
treefce19aba3ae6d1ffc7930d3a3d952b36050374c6 /src/http/modules/perl/ngx_http_perl_module.c
parent9d266efbc0c1170215397ae669165911b5a828d6 (diff)
downloadnginx-19887831698e18149a45a8b9563e8fdcdaaea211.tar.gz
nginx-19887831698e18149a45a8b9563e8fdcdaaea211.zip
Perl: protection against duplicate $r->sleep() calls.
Duplicate $r->sleep() and/or $r->has_request_body() calls result in undefined behaviour (in practice, connection leaks were observed). To prevent this, croak() added in appropriate places.
Diffstat (limited to 'src/http/modules/perl/ngx_http_perl_module.c')
0 files changed, 0 insertions, 0 deletions