diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2019-07-12 15:34:37 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2019-07-12 15:34:37 +0300 |
commit | 19887831698e18149a45a8b9563e8fdcdaaea211 (patch) | |
tree | fce19aba3ae6d1ffc7930d3a3d952b36050374c6 /src/http/modules/perl/ngx_http_perl_module.c | |
parent | 9d266efbc0c1170215397ae669165911b5a828d6 (diff) | |
download | nginx-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