]> git.kaiwu.me - nginx.git/commit
Perl: protection against duplicate $r->sleep() calls.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 12 Jul 2019 12:34:37 +0000 (15:34 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 12 Jul 2019 12:34:37 +0000 (15:34 +0300)
commit19887831698e18149a45a8b9563e8fdcdaaea211
treefce19aba3ae6d1ffc7930d3a3d952b36050374c6
parent9d266efbc0c1170215397ae669165911b5a828d6
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.
src/http/modules/perl/nginx.xs